Describes a handle to a thread.
More...
#include <public/IThreader.h>
Describes a handle to a thread.
virtual SourceMod::IThreadHandle::~IThreadHandle |
( |
| ) |
|
|
inlinevirtual |
virtual void SourceMod::IThreadHandle::GetParams |
( |
ThreadParams * |
ptparams | ) |
|
|
pure virtual |
Returns the thread states.
- Parameters
-
virtual ThreadPriority SourceMod::IThreadHandle::GetPriority |
( |
| ) |
|
|
pure virtual |
Returns the thread priority.
- Returns
- Thread priority.
virtual ThreadState SourceMod::IThreadHandle::GetState |
( |
| ) |
|
|
pure virtual |
Returns the thread state.
- Returns
- Current thread state.
Returns the parent threader.
- Returns
- IThreadCreator that created this thread.
virtual bool SourceMod::IThreadHandle::SetPriority |
( |
ThreadPriority |
prio | ) |
|
|
pure virtual |
Sets thread priority. NOTE: On Linux, this always returns false.
- Parameters
-
prio | Thread priority to set. |
- Returns
- True if successful, false otherwise.
virtual bool SourceMod::IThreadHandle::Unpause |
( |
| ) |
|
|
pure virtual |
Attempts to unpause a paused thread.
- Returns
- True on success, false otherwise.
virtual bool SourceMod::IThreadHandle::WaitForThread |
( |
| ) |
|
|
pure virtual |
Pauses parent thread until this thread completes.
- Returns
- True if successful, false otherwise.
The documentation for this class was generated from the following file: