# LockType

from direct.stdpy.thread import LockType

Implements a mutex lock. Instead of directly subclassing PandaModules.Mutex, we reimplement the lock here, to allow us to provide the described Python lock semantics. In particular, this allows a different thread to release the lock than the one that acquired it.

## Inheritance:

LockType:

## Methods of LockType:

__exit__
__init__
acquire
locked
release

__exit__ def __exit__(self, t, v, tb) Undocumented function.

__init__ def __init__(self) Undocumented function.

acquire def acquire(self, waitflag=1) Undocumented function.

locked def locked(self) Undocumented function.

release def release(self) Undocumented function.