MCPcopy Create free account
hub / github.com/cvet/fonline / thread

Class thread

Source/Essentials/Threading.h:232–259  ·  view source on GitHub ↗

Move-only completion handle for a task submitted to `run_thread`. Mirrors the slim subset of `std::thread` the engine actually uses (`join` / `joinable` / `detach` / `get_id`) without exposing the `std::future` implementation detail to callers, so storage sites can declare a `fo::thread` member instead of leaking the future type. Unlike `std::thread`, the destructor does NOT call `std::terminate`

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

StartAsyncWorkerFunction · 0.70
RunSelfTestCrashFunction · 0.50

Calls

no outgoing calls

Tested by 1

RunSelfTestCrashFunction · 0.40