libcopp  2.2.0
Data Structures | Namespaces | Macros | Variables
coroutine_context_base.h File Reference
#include <libcopp/utils/config/libcopp_build_features.h>
#include <libcopp/stack/stack_context.h>
#include <libcopp/utils/atomic_int_type.h>
#include <libcopp/utils/features.h>
#include <libcopp/utils/intrusive_ptr.h>
#include <libcopp/fcontext/all.hpp>
#include <libcopp/utils/config/stl_include_prefix.h>
#include <cstddef>
#include <functional>
#include <memory>
#include <libcopp/utils/config/stl_include_suffix.h>
Include dependency graph for coroutine_context_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  details::align_helper_inner< N1, N2, true >
 
struct  details::align_helper_inner< N1, N2, false >
 
struct  details::align_helper< N, COMPARE_TO >
 
class  coroutine_context_base
 base type of all coroutine context More...
 
struct  coroutine_context_base::status_type
 status of safe coroutine context base More...
 
struct  coroutine_context_base::flag_type
 

Namespaces

 details
 

Macros

#define COROUTINE_CONTEXT_BASE_ALIGN_UNIT_SIZE    LIBCOPP_COPP_NAMESPACE_ID::details::align_helper<2 * sizeof(size_t), 16>::value
 
#define COROUTINE_CONTEXT_STACK_ALIGN_UNIT_SIZE    LIBCOPP_COPP_NAMESPACE_ID::details::align_helper<COROUTINE_CONTEXT_BASE_ALIGN_UNIT_SIZE, 64>::value
 

Variables

template<size_t N1, size_t N2, bool BIGGER_THAN_16>
struct LIBCOPP_COPP_API_HEAD_ONLY details::align_helper_inner
 

Macro Definition Documentation

◆ COROUTINE_CONTEXT_BASE_ALIGN_UNIT_SIZE

#define COROUTINE_CONTEXT_BASE_ALIGN_UNIT_SIZE    LIBCOPP_COPP_NAMESPACE_ID::details::align_helper<2 * sizeof(size_t), 16>::value

Definition at line 53 of file coroutine_context_base.h.

◆ COROUTINE_CONTEXT_STACK_ALIGN_UNIT_SIZE

#define COROUTINE_CONTEXT_STACK_ALIGN_UNIT_SIZE    LIBCOPP_COPP_NAMESPACE_ID::details::align_helper<COROUTINE_CONTEXT_BASE_ALIGN_UNIT_SIZE, 64>::value

Definition at line 60 of file coroutine_context_base.h.