MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / predicate_leq

Class predicate_leq

benchmarks/tbb/concurrent_queue.cpp:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118};
119
120struct predicate_leq {
121 ticket t;
122 predicate_leq( ticket t_ ) : t(t_) {}
123 bool operator() ( uintptr_t p ) const {return (ticket)p<=t;}
124};
125
126//! Internal representation of a ConcurrentQueue.
127/** For efficiency, this class has no constructor.

Callers 4

internal_popMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected