Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | List of all members
Lock Class Reference
Inheritance diagram for Lock:

Public Member Functions

def __init__
 
def __exit__
 
def acquire
 

Detailed Description

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

Constructor & Destructor Documentation

def __init__ (   self,
  name = "PythonLock" 
)

Member Function Documentation

def __exit__ (   self,
  t,
  v,
  tb 
)
def acquire (   self,
  blocking = True 
)