|
HDK
|
#include <PyImathUtil.h>
Public Member Functions | |
| PYIMATH_EXPORT | PyAcquireLock () |
| PYIMATH_EXPORT | ~PyAcquireLock () |
| PyAcquireLock (const PyAcquireLock &other)=delete | |
| PyAcquireLock & | operator= (PyAcquireLock &other)=delete |
| PyAcquireLock (PyAcquireLock &&other)=delete | |
| PyAcquireLock & | operator= (PyAcquireLock &&other)=delete |
PyAcquireLock ensures that python is prepared for multi-threaded use and ensures that this thread has the global lock.
This object must be instantiated (and continue to be in scope) during all threaded api calls. It assumes the python interpretter is instantiated and multithreading is enabled.
Note: this is not compatible with additional interpreters (calls to Py_NewInterpreter());
Definition at line 37 of file PyImathUtil.h.
| PYIMATH_EXPORT PyImath::PyAcquireLock::PyAcquireLock | ( | ) |
| PYIMATH_EXPORT PyImath::PyAcquireLock::~PyAcquireLock | ( | ) |
|
delete |
|
delete |
|
delete |
|
delete |