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

Method enqueue

benchmarks/tbb/scheduler.cpp:670–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668}
669
670void tbb::internal::generic_scheduler::enqueue( task& t, void* prio ) {
671 generic_scheduler *s = governor::local_scheduler();
672 // these redirections are due to bw-compatibility, consider reworking some day
673 __TBB_ASSERT( s->my_arena, "thread is not in any arena" );
674 s->my_arena->enqueue_task(t, (intptr_t)prio, s->my_random );
675}
676
677#if __TBB_TASK_PRIORITY
678class auto_indicator : no_copy {

Callers

nothing calls this directly

Calls 1

enqueue_taskMethod · 0.80

Tested by

no test coverage detected