kviewshell
GEvent Class Reference
#include <GThreads.h>
Inheritance diagram for GEvent:
Public Member Functions | |
GEvent () | |
void | set () |
void | wait (int timeout) |
void | wait () |
Detailed Description
Definition at line 603 of file GThreads.h.
Constructor & Destructor Documentation
GEvent::GEvent | ( | ) | [inline] |
Definition at line 608 of file GThreads.h.
Member Function Documentation
void GEvent::set | ( | ) | [inline] |
Definition at line 610 of file GThreads.h.
void GEvent::wait | ( | int | timeout | ) | [inline] |
Definition at line 614 of file GThreads.h.
void GEvent::wait | ( | ) | [inline] |
Waits until the monitor is signaled.
The current thread atomically releases the monitor and waits until another thread calls function signal# or broadcast#. Function wait# then re-acquires the monitor and returns. An exception is thrown if this function is called by a thread which does not own the monitor.
Reimplemented from GMonitor.
Definition at line 612 of file GThreads.h.
The documentation for this class was generated from the following file: