#include <public/IThreader.h>
Public Member Functions | |
| virtual | ~IThreadHandle () |
| virtual bool | WaitForThread ()=0 |
| Pauses parent thread until this thread completes. | |
| virtual void | DestroyThis ()=0 |
| Destroys the thread handle. This will not necessarily cancel the thread. | |
| virtual IThreadCreator * | Parent ()=0 |
| Returns the parent threader. | |
| virtual void | GetParams (ThreadParams *ptparams)=0 |
| Returns the thread states. | |
| virtual ThreadPriority | GetPriority ()=0 |
| Returns the thread priority. | |
| virtual bool | SetPriority (ThreadPriority prio)=0 |
| Sets thread priority. NOTE: On Linux, this always returns false. | |
| virtual ThreadState | GetState ()=0 |
| Returns the thread state. | |
| virtual bool | Unpause ()=0 |
| Attempts to unpause a paused thread. | |
Definition at line 108 of file IThreader.h.
| virtual SourceMod::IThreadHandle::~IThreadHandle | ( | ) | [inline, virtual] |
Virtual destructor
Definition at line 112 of file IThreader.h.
| virtual bool SourceMod::IThreadHandle::WaitForThread | ( | ) | [pure virtual] |
Pauses parent thread until this thread completes.
| virtual IThreadCreator* SourceMod::IThreadHandle::Parent | ( | ) | [pure virtual] |
| virtual void SourceMod::IThreadHandle::GetParams | ( | ThreadParams * | ptparams | ) | [pure virtual] |
| virtual ThreadPriority SourceMod::IThreadHandle::GetPriority | ( | ) | [pure virtual] |
Returns the thread priority.
| virtual bool SourceMod::IThreadHandle::SetPriority | ( | ThreadPriority | prio | ) | [pure virtual] |
Sets thread priority. NOTE: On Linux, this always returns false.
| prio | Thread priority to set. |
| virtual ThreadState SourceMod::IThreadHandle::GetState | ( | ) | [pure virtual] |
Returns the thread state.
| virtual bool SourceMod::IThreadHandle::Unpause | ( | ) | [pure virtual] |
Attempts to unpause a paused thread.
1.5.1