libcopp
2.2.0
|
Public Types | |
typedef copp::coroutine_context_default | value_type |
typedef value_type * | value_ptr_type |
Public Member Functions | |
test_this_context_get_cotoutine_runner () | |
int | operator() (void *passed) |
void | set_co_obj (value_ptr_type addr) |
bool | is_run () |
Static Public Member Functions | |
static int | get_max_thd_count () |
Private Attributes | |
value_ptr_type | addr_ |
bool | run_ |
Static Private Attributes | |
static std::atomic_int | cur_thd_count |
static int | max_thd_count = 0 |
Definition at line 21 of file coroutine_context_this_coroutine_test.cpp.
Definition at line 24 of file coroutine_context_this_coroutine_test.cpp.
Definition at line 23 of file coroutine_context_this_coroutine_test.cpp.
|
inline |
Definition at line 27 of file coroutine_context_this_coroutine_test.cpp.
|
inlinestatic |
Definition at line 53 of file coroutine_context_this_coroutine_test.cpp.
References max_thd_count.
Referenced by CASE_TEST().
|
inline |
Definition at line 51 of file coroutine_context_this_coroutine_test.cpp.
References run_.
Referenced by test_this_context_thread_func().
|
inline |
Definition at line 28 of file coroutine_context_this_coroutine_test.cpp.
References addr_, CASE_EXPECT_EQ, cur_thd_count, this_coroutine::get_coroutine(), this_task::get_task(), max_thd_count, and run_.
|
inline |
Definition at line 50 of file coroutine_context_this_coroutine_test.cpp.
References addr_.
Referenced by test_this_context_thread_func().
|
private |
Definition at line 56 of file coroutine_context_this_coroutine_test.cpp.
Referenced by operator()(), and set_co_obj().
|
staticprivate |
Definition at line 58 of file coroutine_context_this_coroutine_test.cpp.
Referenced by operator()().
|
staticprivate |
Definition at line 59 of file coroutine_context_this_coroutine_test.cpp.
Referenced by get_max_thd_count(), and operator()().
|
private |
Definition at line 57 of file coroutine_context_this_coroutine_test.cpp.
Referenced by is_run(), and operator()().