|
CFx SDK Documentation
2022 SP0
|
Go to the source code of this file.
Classes | |
| class | OdMutexPtr |
| class | OdMutexPtrAutoLock |
| class | ThreadsCounterReactor |
| class | ThreadsCounter |
Macros | |
| #define | TD_AUTOLOCK_P(Mutex) OdMutexPtrAutoLock autoLock(Mutex); |
| #define | TD_AUTOLOCK_P_DEF(Mutex) OdMutexPtrAutoLock autoLock(odThreadsCounter() ? Mutex.get() : NULL); |
Typedefs | |
| typedef void(* | MainThreadFunc) (void *) |
| typedef void(* | ExecuteMainThreadFunc) (MainThreadFunc, void *) |
Functions | |
| FIRSTDLL_EXPORT ThreadsCounter & | odThreadsCounter () |
| FIRSTDLL_EXPORT bool | odExecuteMainThreadAction (MainThreadFunc mtFunc, void *pArg, bool bExecST=true) |
| FIRSTDLL_EXPORT unsigned | odGetCurrentThreadId () |
| FIRSTDLL_EXPORT void | odThreadYield () |
| #define TD_AUTOLOCK_P | ( | Mutex | ) | OdMutexPtrAutoLock autoLock(Mutex); |
Definition at line 280 of file ThreadsCounter.h.
| #define TD_AUTOLOCK_P_DEF | ( | Mutex | ) | OdMutexPtrAutoLock autoLock(odThreadsCounter() ? Mutex.get() : NULL); |
Definition at line 281 of file ThreadsCounter.h.
| typedef void(* ExecuteMainThreadFunc) (MainThreadFunc, void *) |
Definition at line 145 of file ThreadsCounter.h.
Definition at line 143 of file ThreadsCounter.h.
| FIRSTDLL_EXPORT bool odExecuteMainThreadAction | ( | MainThreadFunc | mtFunc, |
| void * | pArg, | ||
| bool | bExecST = true |
||
| ) |
| FIRSTDLL_EXPORT unsigned odGetCurrentThreadId | ( | ) |
| FIRSTDLL_EXPORT ThreadsCounter& odThreadsCounter | ( | ) |
| FIRSTDLL_EXPORT void odThreadYield | ( | ) |