Semaphore
from direct.stdpy.threading import Semaphore
This class provides a wrapper around Panda's Semaphore object. The wrapper is designed to emulate Python's own threading.Semaphore object.
Inheritance:
Semaphore
:
Methods of Semaphore:
__exit__
__init__
acquire
__exit__
def __exit__(self, t, v, tb)
Undocumented function.
__init__
def __init__(self, value=1)
Undocumented function.
acquire
def acquire(self, blocking=True)
Undocumented function.