Home | All Classes | Grouped Classes | Index | Search

CL_Mutex::notify

Notify wakes up the first thread that has gone to sleep on this mutex in order to wait for a notification.

	void notify();

Detailed description:

For safety reasons, you are advised to acquire the mutex using 'enter' before calling notify. (Of course you have to release the mutex using 'leave' after notifying, otherwise the waiting thread cannot reacquire it).

Warning: Not implemented under Win32. If you need it, please implement it in Sources/Core/System/Win32/mutex_win32.*, and send me the patch. :-)

See also:

CL_Mutex



Questions or comments, write to the ClanLib mailing list.