|
Zth (libzth)
|
std::future and std::promise wrappers that are fiber-aware.
More...
Enumerations | |
| enum class | zth::launch { zth::launch::detached = 1 , zth::launch::awaitable = 2 } |
| Launch policies for std::async to start fibers instead of threads. More... | |
std::future and std::promise wrappers that are fiber-aware.
|
strong |
Launch policies for std::async to start fibers instead of threads.
| Enumerator | |
|---|---|
| detached | Start fiber, without a future to await. |
| awaitable | Start fiber, returning a future to await. |