|
Panda3D
|
Public Member Functions | |
| __init__ (self) | |
| __exit__ (self, t, v, tb) | |
| acquire (self, waitflag=1, timeout=-1) | |
| locked (self) | |
| release (self) | |
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.
| __init__ | ( | self | ) |
| __exit__ | ( | self, | |
| t, | |||
| v, | |||
| tb ) |
| acquire | ( | self, | |
| waitflag = 1, | |||
| timeout = -1 ) |
| locked | ( | self | ) |
| release | ( | self | ) |