GATE
gate::Coroutine Class Reference

Public Types

typedef gate_coroutine_id_t id_t
 

Static Public Member Functions

static bool_t supported ()
 
static void run (gate_coroutine_function_t func, void *param)
 
static void run (IRunnable &code)
 
static bool_t enabled ()
 
static id_t getCurrent ()
 
static void yield ()
 
static id_t create (gate_coroutine_function_t func, void *param)
 
static id_t create (IRunnable &code)
 
static void switchTo (id_t context_id)
 
static result_t await (id_t id)
 

The documentation for this class was generated from the following files: