libcopp 2.3.1
|
#include <libcopp/utils/config/libcopp_build_features.h>
#include <libcopp/utils/nostd/type_traits.h>
#include "libcopp/coroutine/coroutine_context_base.h"
#include "libcopp/coroutine/stackful_channel_common.h"
Go to the source code of this file.
Data Structures | |
class | coroutine_context |
base type of all stackful coroutine context More... | |
struct | coroutine_context::jump_src_data_t |
Namespaces | |
namespace | this_coroutine |
Macros | |
#define | COROUTINE_CONTEXT_BASE_USING_BASE_SEGMENTED_STACKS(base_type) |
#define | COROUTINE_CONTEXT_BASE_USING_BASE(base_type) |
Functions | |
LIBCOPP_COPP_API coroutine_context * | this_coroutine::get_coroutine () LIBCOPP_MACRO_NOEXCEPT |
get current coroutine | |
template<typename Tc > | |
LIBCOPP_COPP_API_HEAD_ONLY Tc * | this_coroutine::get () |
get current coroutine and try to convert type | |
LIBCOPP_COPP_API int | this_coroutine::yield (void **priv_data=nullptr) LIBCOPP_MACRO_NOEXCEPT |
yield current coroutine | |
#define COROUTINE_CONTEXT_BASE_USING_BASE | ( | base_type | ) |
Definition at line 17 of file coroutine_context.h.
#define COROUTINE_CONTEXT_BASE_USING_BASE_SEGMENTED_STACKS | ( | base_type | ) |
Definition at line 14 of file coroutine_context.h.