|
| UtilExport bool | IsInMainThread () |
| | Returns true if in main thread.
|
| UtilExport void | SetWorkerThread (DWORD threadID=(DWORD) -1) |
| | Sets the worker thread id to use for testing in IsExclusivelyInMainOrWorkerThread function.
|
| UtilExport DWORD | GetWorkerThread () |
| | Returns the worker thread id set via SetWorkerThread.
|
| UtilExport void | ClearWorkerThread () |
| | Clears the worker thread id value.
|
| 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.
|
| UtilExport void | Disable () |
| | Disables checking.
|