Zth (libzth)
Loading...
Searching...
No Matches
future

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...
 

Detailed Description

std::future and std::promise wrappers that are fiber-aware.

Enumeration Type Documentation

◆ launch

enum class zth::launch
strong

Launch policies for std::async to start fibers instead of threads.

See also
std::async
Enumerator
detached 

Start fiber, without a future to await.

awaitable 

Start fiber, returning a future to await.

Definition at line 489 of file future.h.