This is the reference documentation of sub-namespace threads
of the ALib C++ Library , which holds types of library module ALib Threads .
Further documentation is provided with
Nested Namespaces: | |
namespace | detail |
Type Index: | |
class | Runnable |
class | Sleeper |
class | SmartLock |
class | Thread |
class | ThreadLock |
class | ThreadLockNR |
Type Definition Index: | |
using | ThreadID = integer |
Function Index: | |
void | Bootstrap () |
void | Shutdown () |
Variable Index: | |
static constexpr ThreadID | UNDEFINED = 0 |
Type to store thread identifiers.
Definition at line 34 of file loxpimpl.inl.
void Bootstrap | ( | ) |
Initializes ALib thread logic. Multiple invocations of this method are ignored.
The standard bootstrap code of ALib , hence the (overloaded) functions alib::Bootstrap will call this function.
Definition at line 140 of file thread.cpp.
void Shutdown | ( | ) |
Frees resources and shuts down ALib thread logic. Multiple invocations of this method are ignored. The standard bootstrap code of ALib , hence the (overloaded) functions alib::Shutdown will call this function.
Definition at line 179 of file thread.cpp.
|
staticconstexpr |
This is a value that may be passed as a value indicating an undefined thread
Definition at line 50 of file thread.hpp.