Classes | Namespaces | Defines | Typedefs | Enumerations | Functions | Variables
coroutine.h File Reference
#include <cstdint>
#include <cstring>
#include <cstdio>
#include <cassert>
#include <string>
#include <vector>
#include <list>
#include <thread>
#include <future>
#include <ucontext.h>
Include dependency graph for coroutine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  coroutine::Channel< Type >
struct  coroutine::Ordinator
struct  coroutine::Routine

Namespaces

namespace  coroutine

Defines

#define STACK_LIMIT   (1024*1024)

Typedefs

typedef unsigned coroutine::routine_t

Enumerations

enum  coroutine::ResumeResult { coroutine::INVALID = -1, coroutine::FINISHED = -2, coroutine::YIELD = 0 }

Functions

template<typename Function >
std::result_of< Function()>::type coroutine::await (Function &&func)
routine_t coroutine::create (std::function< void()> f)
routine_t coroutine::current ()
void coroutine::destroy (routine_t id)
void coroutine::entry ()
ResumeResult coroutine::resume (routine_t id)
void coroutine::yield ()

Variables

static thread_local Ordinator coroutine::ordinator

Define Documentation

#define STACK_LIMIT   (1024*1024)

Definition at line 24 of file coroutine.h.



behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 03:50:10