from panda3d.core import ConditionVar
class ConditionVar

Bases: ConditionVarDirect

Inheritance diagram

Inheritance diagram of ConditionVar

__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.


Returns the mutex associated with this condition variable.