Details of namespace alib::threads.
Function Index: | |
void | threadStart (Thread *thread) |
Variable Index: | |
ALIB_API std::mutex | MODULE_LOCK |
ALIB_API HashMap< MonoAllocator, std::thread::id, Thread * > | THREAD_MAP |
Directory which assigns system thread IDs to ALib Thread objects. | |
void threadStart | ( | Thread * | thread | ) |
Internal method to start a thread.
thread | The ALib thread object to start. |
Definition at line 73 of file thread.cpp.
|
extern |
The internal mutex used with operations like starting, ending or finding thread objects.
HashMap< MonoAllocator, std::thread::id, Thread * > THREAD_MAP |
Directory which assigns system thread IDs to ALib Thread objects.
The hash map used to find the current thread object. The object uses default values for HashTable::BaseLoadFactor and HashTable::MaxLoadFactor. Depending on the use of threads by a using application, these values might be modified before starting the first phase of bootstrapping ALib.
If so, an initial call to HashTable::Reserve may be likewise be performed.
std::unordered_map
. Definition at line 62 of file thread.cpp.