#include <libzth/macros.h>
#include <libzth/allocator.h>
#include <libzth/config.h>
#include <libzth/context.h>
#include <libzth/init.h>
#include <libzth/list.h>
#include <libzth/perf.h>
#include <libzth/time.h>
#include <libzth/util.h>
#include <errno.h>
#include <exception>
#include <utility>
#include <functional>
Go to the source code of this file.
|
| Fiber & | zth::currentFiber () noexcept |
| | Return the currently executing fiber.
|
| |
| void * | zth::fls () noexcept |
| | Return the fiber-local storage, as set by setFls().
|
| |
| void | zth::setFls (void *data=nullptr) noexcept |
| | Set the fiber-local storage.
|
| |
| void * | zth_fls () noexcept |
| | Return the fiber-local storage, as set by setFls().
|
| |
| void | zth_setFls (void *data=nullptr) noexcept |
| | Set the fiber-local storage.
|
| |
| int | main_fiber (int argc, char **argv) |
| |
◆ main_fiber()
| int main_fiber |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
- Examples
- 1_helloworld.cpp, 2_fibers.cpp, 3_coop.cpp, 4_sync.cpp, 5_perf.cpp, 6_stack.cpp, 7_no_async.cpp, 9_c_api.c, daemon_pattern.cpp, fsm14.cpp, measure.cpp, and zmq.cpp.
Definition at line 11 of file main.cpp.