5#include <unordered_map>
10 static std::unordered_map<std::uint64_t, void*>
sDefaults;
17 return fiber->GetTLS(
i,
GetMap());
static detail::fiber::FiberBase * Current() noexcept
#define YACLIB_ASSERT(cond)
void SetDefault(void *new_value, std::uint64_t i)
void * GetImpl(std::uint64_t i)
void Set(void *new_value, std::uint64_t i)
Contract< V, E > MakeContract()
Creates related future and promise.