This is the namespace of ALib Module "Threadmodel". Please refer to the Programmer's Manual of this module for information about how the types found in this namespace are used.
Type Index: | |
class | DedicatedWorker |
class | DWManager |
struct | Job |
struct | JPromise |
A simple encapsulated promise. More... | |
class | ThreadPool |
class | Trigger |
class | Triggered |
Enumeration Index: | |
enum class | Priority { Lowest = 0 , DeferredDeletion = 500 , Low = 1000 , Standard = 2000 , High = 3000 , Highest = 4000 } |
Possible priorities of jobs assigned to an DedicatedWorker. More... | |
Function Index: | |
ALIB_API void | Bootstrap () |
|
strong |
Possible priorities of jobs assigned to an DedicatedWorker.
Enumerator | |
---|---|
Lowest | As the name indicates. |
DeferredDeletion | As the name indicates. |
Low | As the name indicates. |
Standard | As the name indicates. |
High | As the name indicates. |
Highest | As the name indicates. |
ALIB_API void Bootstrap | ( | ) |
This namespace function initializes the module ALib ThreadModel.
This function needs to be called with bootstrapping a process. The standard bootstrap code of ALib, hence the (overloaded) functions alib::Bootstrap will call this function.
Multiple invocations of this method are forbidden.