ROOT logo
Gled » GLEDCORE » GCondition

class GCondition: public GMutex


 POSIX condition-variable wrapper class.

 Inherits from GMutex so that is automatically associated with this
 condition. So, simply lock/unlock the condition variable object to
 ensure that no signals are missed.

Function Members (Methods)

public:
GCondition(GMutex::Init_e e = fast)
GCondition(const GCondition&)
~GCondition()
Int_tBroadcast()
static TClass*Class()
TClass*IsA() const
GMutex::Lock_eGMutex::Lock()
Int_tLockBroadcast()
Int_tLockSignal()
GCondition&operator=(const GCondition&)
voidShowMembers(TMemberInspector& insp)
Int_tSignal()
voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
Int_tTimedWait(GTime time)
Int_tTimedWaitUntil(GTime time)
GMutex::Lock_eGMutex::TryLock()
GMutex::Lock_eGMutex::Unlock()
Int_tWait()

Data Members

public:
enum GMutex::Init_e { fast
recursive
error_checking
};
enum GMutex::Lock_e { ok
bad_init
deadlock
busy
perm_fail
};

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

GCondition(GMutex::Init_e e = fast)
~GCondition()
Int_t Wait()
 Performs wait ... mutex should be locked upon calling this method.
Int_t TimedWait(GTime time)
 Performs timedwait for interval time.
 Mutex should be locked upon calling this method.
 Returns 1 for time-out, 0 for other cases.
Int_t TimedWaitUntil(GTime time)
 Performs timedwait until time.
 Mutex should be locked upon calling this method.
 Returns 1 for time-out, 0 for other cases.
Int_t Signal()
Int_t Broadcast()
Int_t LockSignal()
Int_t LockBroadcast()
GCondition(const GCondition& )