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

Method internal_size

benchmarks/tbb/concurrent_queue.cpp:520–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518}
519
520ptrdiff_t concurrent_queue_base_v3::internal_size() const {
521 __TBB_ASSERT( sizeof(ptrdiff_t)<=sizeof(size_t), NULL );
522 return ptrdiff_t(my_rep->tail_counter-my_rep->head_counter-my_rep->n_invalid_entries);
523}
524
525bool concurrent_queue_base_v3::internal_empty() const {
526 ticket tc = my_rep->tail_counter;

Callers 1

unsafe_sizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected