Barracuda Application Server C/C++ Reference
NO
|
A simple thread class.
The thread class makes it possible to design a platform independent system using threads.
#include <ThreadLib.h>
Public Member Functions | |
Thread (Thread_Run r, ThreadPriority priority, int stackSize) | |
Create a thread. More... | |
void | start () |
Start the thread. | |
Static Public Member Functions | |
static void | sleep (unsigned int milliseconds) |
Suspend the current thread for n milliseconds. | |
Thread::Thread | ( | Thread_Run | r, |
ThreadPriority | priority, | ||
int | stackSize | ||
) |
Create a thread.
r | a pointer to the thread run method. |
priority | the thread priority. |
stackSize | the thread stack size. |