HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PyImath::PyAcquireLock Class Reference

#include <PyImathUtil.h>

Public Member Functions

PYIMATH_EXPORT PyAcquireLock ()
 
PYIMATH_EXPORT ~PyAcquireLock ()
 
 PyAcquireLock (const PyAcquireLock &other)=delete
 
PyAcquireLockoperator= (PyAcquireLock &other)=delete
 
 PyAcquireLock (PyAcquireLock &&other)=delete
 
PyAcquireLockoperator= (PyAcquireLock &&other)=delete
 

Detailed Description

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.

Constructor & Destructor Documentation

PYIMATH_EXPORT PyImath::PyAcquireLock::PyAcquireLock ( )
PYIMATH_EXPORT PyImath::PyAcquireLock::~PyAcquireLock ( )
PyImath::PyAcquireLock::PyAcquireLock ( const PyAcquireLock other)
delete
PyImath::PyAcquireLock::PyAcquireLock ( PyAcquireLock &&  other)
delete

Member Function Documentation

PyAcquireLock& PyImath::PyAcquireLock::operator= ( PyAcquireLock other)
delete
PyAcquireLock& PyImath::PyAcquireLock::operator= ( PyAcquireLock &&  other)
delete

The documentation for this class was generated from the following file: