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&)
virtual~GCondition()
Int_tBroadcast()
static TClass*Class()
virtual TClass*IsA() const
GMutex::Lock_eGMutex::Lock()
Int_tLockBroadcast()
Int_tLockSignal()
GCondition&operator=(const GCondition&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
Int_tSignal()
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
Int_tTimedWaitMS(UInt_t wait_ms)
Int_tTimedWaitMuS(UInt_t wait_mus)
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)
~GCondition()
Int_t Wait()
 Performs wait ... mutex should be locked upon calling this method.
Int_t TimedWaitMS(UInt_t wait_ms)
 Performs timedwait ... mutex should be locked upon calling this method.
 Time given in mili-seconds.
 Returns 1 for time-out, 0 for other cases.
Int_t TimedWaitMuS(UInt_t wait_mus)
 Performs timedwait ... mutex should be locked upon calling this method.
 Time given in micro-seconds.
 Returns 1 for time-out, 0 for other cases.
Int_t Signal()
Int_t Broadcast()
Int_t LockSignal()
Int_t LockBroadcast()
GCondition(Init_e e=fast)