HDK
|
#include <henv.h>
Public Member Functions | |
TOOLS_EnvLockGuard () | |
~TOOLS_EnvLockGuard () | |
TOOLS_EnvLockGuard (const TOOLS_EnvLockGuard &)=delete | |
TOOLS_EnvLockGuard & | operator= (const TOOLS_EnvLockGuard &)=delete |
RAII class for serializing work that will read/write environment variables. HouiniSetenv()/HoudiniGetenv() calls are already serialized with this mutex but this is intended for use on non-main threads and code that doesn't go through the Houdini.*() API. These include: mktime(), ctime(), localtime(), strftime(), gmtime(), etc.
TOOLS_EnvLockGuard::TOOLS_EnvLockGuard | ( | ) |
TOOLS_EnvLockGuard::~TOOLS_EnvLockGuard | ( | ) |
|
delete |
|
delete |