Panda3D
Public Member Functions

ConditionVar Class Reference

Inheritance diagram for ConditionVar:
ConditionVarDirect

List of all members.

Public Member Functions

 ConditionVar (Mutex mutex)
 You must pass in a Mutex to the condition variable constructor.
Mutex getMutex ()
 Returns the mutex associated with this condition variable.

Constructor & Destructor Documentation

ConditionVar ( 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.


Member Function Documentation

Mutex getMutex ( )

Returns the mutex associated with this condition variable.

Reimplemented from ConditionVarDirect.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties