ClanSoft logo
ClanSoft logo

    CL_Mutex::notify

Syntax

virtual void notify();

Description

Notify wakes up the first thread that has gone to sleep on this

mutex in order to wait for a notification. 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. :-)


Back to index



This page was built using the Perceps documentation system.