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(), tbb::internal::current_coroutine(), and my_coroutine.
|
inline |
Definition at line 93 of file co_context.h.
References __TBB_ASSERT, co_destroyed, co_executing, co_suspended, tbb::internal::destroy_coroutine(), my_coroutine, and my_state.
|
inline |
Definition at line 114 of file co_context.h.
References my_coroutine, and tbb::internal::coroutine_type::my_stack.
|
inline |
Definition at line 100 of file co_context.h.
References __TBB_ASSERT, co_executing, co_suspended, my_coroutine, my_state, and tbb::internal::swap_coroutine().
|
private |
Definition at line 79 of file co_context.h.
Referenced by co_context(), get_stack_limit(), resume(), and ~co_context().
|
private |
Definition at line 80 of file co_context.h.
Referenced by resume(), and ~co_context().