#include <public/IThreader.h>
Inherited by SourceMod::IThreader, and SourceMod::IThreadWorker.
Inheritance diagram for SourceMod::IThreadCreator:
Public Member Functions | |
| virtual | ~IThreadCreator () |
| virtual void | MakeThread (IThread *pThread)=0 |
| Creates a basic thread. | |
| virtual IThreadHandle * | MakeThread (IThread *pThread, ThreadFlags flags)=0 |
| Creates a thread with specific options. | |
| virtual IThreadHandle * | MakeThread (IThread *pThread, const ThreadParams *params)=0 |
| Creates a thread with specific options. | |
| virtual void | GetPriorityBounds (ThreadPriority &max, ThreadPriority &min)=0 |
| Returns the priority bounds. Note: On Linux, the min and max are both Thread_Normal. | |
Definition at line 200 of file IThreader.h.
| virtual SourceMod::IThreadCreator::~IThreadCreator | ( | ) | [inline, virtual] |
Virtual Destructor
Definition at line 204 of file IThreader.h.
| virtual void SourceMod::IThreadCreator::MakeThread | ( | IThread * | pThread | ) | [pure virtual] |
| virtual IThreadHandle* SourceMod::IThreadCreator::MakeThread | ( | IThread * | pThread, | |
| ThreadFlags | flags | |||
| ) | [pure virtual] |
Creates a thread with specific options.
| pThread | IThread pointer for callbacks. | |
| flags | Flags for the thread. |
| virtual IThreadHandle* SourceMod::IThreadCreator::MakeThread | ( | IThread * | pThread, | |
| const ThreadParams * | params | |||
| ) | [pure virtual] |
Creates a thread with specific options.
| pThread | IThread pointer for callbacks. | |
| params | Extended options for the thread. |
| 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.
| max | Stores the maximum priority level. | |
| min | Stores the minimum priority level. |
1.5.1