Go to the source code of this file.
|
template<typename R , typename F > |
TypedFiber< R, F > & | zth::operator<< (TypedFiber< R, F > &f, FiberManipulator const &m) |
|
template<typename F > |
fiber_type< F >::factory | zth::fiber (F f, char const *name=nullptr) |
| Create a new fiber. More...
|
|
int | zth_fiber_create (void(*f)(void *), void *arg=nullptr, size_t stack=0, char const *name=nullptr) noexcept |
| Run a function as a new fiber. More...
|
|
◆ zth_async
#define zth_async ::zth::fibered:: |
◆ zth_fiber_declare_1
#define zth_fiber_declare_1 |
( |
|
f | ) |
|
Value:
namespace fibered { \
extern ::zth::TypedFiberFactory<decltype(&::f)> const f; \
} \
}
Definition at line 726 of file async.h.
◆ zth_fiber_define_1
#define zth_fiber_define_1 |
( |
|
storage, |
|
|
|
f |
|
) |
| |
Value:
namespace fibered { \
storage ::zth::TypedFiberFactory<decltype(&::f)> const \
: nullptr); \
} \
} \
typedef ::zth::TypedFiberFactory<decltype(&::f)>::AutoFuture_type f##_future;
static bool const EnablePerfEvent
Enable (but not necessarily record) perf.
static bool const EnableDebugPrint
Actually do print the debug output.
#define ZTH_STRINGIFY(x)
Converts the argument to a string literal.
Definition at line 740 of file async.h.
◆ zth_fiber_define_extern_1
◆ zth_fiber_define_static_1
◆ ZTH_TYPEDFIBER98
#define ZTH_TYPEDFIBER98 0 |