Overview
Examples
Screenshots
Comparisons
Applications
Download
Manual
Status & Roadmap
FAQ
Authors & License
Forums
Wiki
Funding Ultimate++
Search on this site









SourceForge.net Logo



class Thread

Encapsulation of thread.  

 

bool Run(Callback cb)

Starts a new thread.

 

int Wait()

Waits for started thread to finish. ("join").

 

bool IsOpen() const

Thread represents a running thread.

 

static void Start(Callback cb)

Starts a thread and returns immediately (you cannot Wait for the thread to finish in this case).

 

static void Sleep(int ms)

Sleep for a given number of milliseconds.

 

static bool IsST()

True is no thread was started yet.

 

static int GetCount()

Number of running threads.

 

static void ShutdownThreads()

Sets the "Shutdown" flag on.

 

static bool IsShutdownThreads()

True if ShutdownThreads was called.

 

~Thread()

Destructor. Thread continues running (and it is impossible to Wait for finish).

 

 

 

class Mutex

 

 

void Enter()

 

 

void Leave()