Home | All Classes | Grouped Classes | Index | Search

# Class CL_Mutex

Mutex interface. More...

Derived from: none
Derived by: none
Group: Core (System)

#include <ClanLib/core.h>

Construction:

create | Call this to create a mutex. (provided for 0.4 backward compatibility)
CL_Mutex | Construct a new mutex.

Operations:

enter | Enter the critical section.
leave | Leave the critical section.
wait | Releases the mutex this thread has taken out and sends the thread to sleep.
notify | Notify wakes up the first thread that has gone to sleep on this mutex in order to wait for a notification.
notify_all | NotifyAll wakes up all threads waiting on the mutex.

Detailed description:

!group=Core/System! !header=core.h!

If you don't know what a mutex is, read a book. :-)

Questions or comments, write to the ClanLib mailing list.