Motr
M0
|
#include <coroutine.h>
Data Fields | |
struct m0_co_la_item | la_items [M0_MCC_STACK_NR] |
uint64_t | la_frame |
void * | la_pool |
uint64_t | la_total |
Simple stacked allocator used to save local to current coroutine context variables, defined inside each ‘yielded’ function with M0_CO_REENTER().
Definition at line 54 of file coroutine.h.
uint64_t la_frame |
next allocated frame to be used
Definition at line 59 of file coroutine.h.
struct m0_co_la_item la_items[M0_MCC_STACK_NR] |
allocated items
Definition at line 56 of file coroutine.h.
void* la_pool |
This data is allocated with m0_alloc() to be far-far-away from user-space stack.
Definition at line 65 of file coroutine.h.
uint64_t la_total |
totally allocated
Definition at line 67 of file coroutine.h.