Panda3D
Public Member Functions

Semaphore Class Reference

Inheritance diagram for Semaphore:
BoundedSemaphore

List of all members.

Public Member Functions

def __init__
def __exit__
def acquire

Detailed Description

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

Constructor & Destructor Documentation

def __init__ (   self,
  value = 1 
)

Reimplemented in BoundedSemaphore.


Member Function Documentation

def __exit__ (   self,
  t,
  v,
  tb 
)
def acquire (   self,
  blocking = True 
)
 All Classes Namespaces Functions Variables Properties