Describes a thread creator.
More...
#include <public/IThreader.h>
Describes a thread creator.
virtual SourceMod::IThreadCreator::~IThreadCreator |
( |
| ) |
|
|
inlinevirtual |
virtual void SourceMod::IThreadCreator::GetPriorityBounds |
( |
ThreadPriority & |
max, |
|
|
ThreadPriority & |
min |
|
) |
| |
|
pure virtual |
Returns the priority bounds. Note: On Linux, the min and max are both Thread_Normal.
- Parameters
-
max | Stores the maximum priority level. |
min | Stores the minimum priority level. |
virtual void SourceMod::IThreadCreator::MakeThread |
( |
IThread * |
pThread | ) |
|
|
pure virtual |
Creates a basic thread.
- Parameters
-
pThread | IThread pointer for callbacks. |
virtual IThreadHandle* SourceMod::IThreadCreator::MakeThread |
( |
IThread * |
pThread, |
|
|
ThreadFlags |
flags |
|
) |
| |
|
pure virtual |
Creates a thread with specific options.
- Parameters
-
pThread | IThread pointer for callbacks. |
flags | Flags for the thread. |
- Returns
- IThreadHandle pointer (must be released).
Creates a thread with specific options.
- Parameters
-
pThread | IThread pointer for callbacks. |
params | Extended options for the thread. |
- Returns
- IThreadHandle pointer (must be released).
The documentation for this class was generated from the following file: