Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
#include <co_context.h>
Public Member Functions | |
co_context (size_t stack_size, void *arg) | |
~co_context () | |
void | resume (co_context &target) |
void * | get_stack_limit () |
Private Types | |
enum | co_state { co_invalid, co_suspended, co_executing, co_destroyed } |
Private Attributes | |
coroutine_type | my_coroutine |
co_state | my_state |
Definition at line 72 of file co_context.h.
|
private |
Enumerator | |
---|---|
co_invalid | |
co_suspended | |
co_executing | |
co_destroyed |
Definition at line 73 of file co_context.h.
|
inline |
Definition at line 83 of file co_context.h.
References tbb::internal::create_coroutine(), and tbb::internal::current_coroutine().
|
inline |
Definition at line 93 of file co_context.h.
References __TBB_ASSERT, and tbb::internal::destroy_coroutine().
|
inline |
Definition at line 114 of file co_context.h.
References __TBB_ASSERT, tbb::internal::co_local_wait_for_all(), tbb::internal::create_coroutine(), tbb::internal::current_coroutine(), tbb::internal::destroy_coroutine(), tbb::internal::coroutine_type::my_stack, and tbb::internal::swap_coroutine().
|
inline |
Definition at line 100 of file co_context.h.
References __TBB_ASSERT, my_coroutine, my_state, and tbb::internal::swap_coroutine().
Referenced by tbb::internal::generic_scheduler::free_task().
|
private |
Definition at line 79 of file co_context.h.
Referenced by resume().
|
private |
Definition at line 80 of file co_context.h.
Referenced by resume().