Panda3D
|
This class provides a locking wrapper around an arbitrary istream pointer. A thread may use this class to perform an atomic seek/read/gcount operation. More...
Public Member Functions | |
__init__ (Istream stream) | |
Istream | getIstream () |
Returns the istream this object is wrapping. More... | |
![]() | |
acquire () | |
Acquires the internal lock. More... | |
release () | |
Releases the internal lock. Must be called exactly once following a call to acquire(). See the cautions with acquire(). More... | |
This class provides a locking wrapper around an arbitrary istream pointer. A thread may use this class to perform an atomic seek/read/gcount operation.
__init__ | ( | Istream | stream | ) |
Istream getIstream | ( | ) |
Returns the istream this object is wrapping.