Panda3D
Public Member Functions | List of all members
ConditionVarFull Class Reference
Inheritance diagram for ConditionVarFull:
ConditionVarFullDirect

Public Member Functions

 __init__ (Mutex mutex)
 You must pass in a Mutex to the condition variable constructor. More...
 
Mutex getMutex ()
 Returns the mutex associated with this condition variable. More...
 
- Public Member Functions inherited from ConditionVarFullDirect
MutexDirect getMutex ()
 Returns the mutex associated with this condition variable. More...
 
 notify ()
 Informs one of the other threads who are currently blocked on wait() that the relevant condition has changed. More...
 
 notifyAll ()
 Informs all of the other threads who are currently blocked on wait() that the relevant condition has changed. More...
 
 output (Ostream out)
 This method is declared virtual in ConditionVarFullDebug, but non-virtual in ConditionVarFullDirect. More...
 
 wait ()
 Waits on the condition. More...
 
 wait (double timeout)
 Waits on the condition, with a timeout. More...
 

Member Function Documentation

◆ __init__()

__init__ ( Mutex  mutex)

You must pass in a Mutex to the condition variable constructor.

This mutex may be shared by other condition variables, if desired. It is the caller's responsibility to ensure the Mutex object does not destruct during the lifetime of the condition variable.

◆ getMutex()

Mutex getMutex ( )

Returns the mutex associated with this condition variable.