3ds Max C++ API Reference
ThreadingDebuggingTools.h File Reference
#include <WTypes.h>
#include "utilexp.h"
#include "MaxHeap.h"

Classes

class  WorkerThreadSet
 A class to help control the setting of the worker thread. More...
 

Namespaces

 MaxSDK
 
 MaxSDK::ThreadingDebuggingTools
 The functions in this namespace are provided to assist in debugging operations performed on a worker thread.
 

Functions

UtilExport bool IsInMainThread ()
 Returns true if in main thread. More...
 
UtilExport void SetWorkerThread (DWORD threadID=(DWORD) -1)
 Sets the worker thread id to use for testing in IsExclusivelyInMainOrWorkerThread function. More...
 
UtilExport DWORD GetWorkerThread ()
 Returns the worker thread id set via SetWorkerThread. More...
 
UtilExport void ClearWorkerThread ()
 Clears the worker thread id value. More...
 
UtilExport bool IsExclusivelyInMainOrWorkerThread ()
 Returns true if (a) the worker thread id is not set and in main thread, or (b) the worker thread id is set and in that thread. More...
 
UtilExport void Disable ()
 Disables checking. More...