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

Public Member Functions

def __init__ (self, name="PythonRLock")
 
def __exit__ (self, t, v, tb)
 
def acquire (self, blocking=True)
 

Detailed Description

This class provides a wrapper around Panda's ReMutex object.
The wrapper is designed to emulate Python's own threading.RLock
object. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name = "PythonRLock" 
)

Member Function Documentation

◆ __exit__()

def __exit__ (   self,
  t,
  v,
  tb 
)

◆ acquire()

def acquire (   self,
  blocking = True 
)