| 668 | } |
| 669 | |
| 670 | void 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 |
| 678 | class auto_indicator : no_copy { |
nothing calls this directly
no test coverage detected