Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <scheduler_common.h>
Public Member Functions | |
void | fill_with_canary_pattern (size_t, size_t) |
void | allocate_task_pool (size_t n) |
void | free_task_pool () |
Deallocate task pool that was allocated by means of allocate_task_pool. More... | |
Additional Inherited Members | |
![]() | |
char | pad [S - R] |
![]() | |
generic_scheduler * | my_scheduler |
Scheduler of the thread attached to the slot. More... | |
task **__TBB_atomic | task_pool |
__TBB_atomic size_t | head |
Index of the first ready task in the deque. More... | |
![]() | |
char | pad [S - R] |
![]() | |
unsigned | hint_for_pop |
Hint provided for operations with the container of starvation-resistant tasks. More... | |
__TBB_atomic size_t | tail |
Index of the element following the last ready task in the deque. More... | |
size_t | my_task_pool_size |
Capacity of the primary task pool (number of elements - pointers to task). More... | |
task **__TBB_atomic | task_pool_ptr |
Task pool of the scheduler that owns this slot. More... | |
Definition at line 377 of file scheduler_common.h.
|
inline |
Definition at line 387 of file scheduler_common.h.
References tbb::internal::NFS_Allocate(), and tbb::internal::NFS_MaxLineSize.
Referenced by tbb::internal::generic_scheduler::prepare_task_pool().
|
inline |
Definition at line 384 of file scheduler_common.h.
Referenced by tbb::internal::generic_scheduler::prepare_task_pool().
|
inline |
Deallocate task pool that was allocated by means of allocate_task_pool.
Definition at line 397 of file scheduler_common.h.
References __TBB_ASSERT, and tbb::internal::NFS_Free().
Referenced by tbb::internal::arena::free_arena().