Go to the source code of this file.
Go to the SVN repository for this file.
|
| DEFINE_STATIC_MUTEX (s_TlsCleanupMutex) |
|
static void | s_CleanupUsedTlsBases (CUsedTlsBases *tls, void *) |
|
static void | s_CleanupMainUsedTlsBases (CUsedTlsBases &tls) |
|
void | s_TlsSetValue (TTlsKey &key, void *data, const char *err_message) |
|
| DEFINE_STATIC_FAST_MUTEX (s_ThreadMutex) |
|
static | DECLARE_TLS_VAR (CThread *, sx_ThreadPtr) |
|
static | DECLARE_TLS_VAR (CThread::TID, sx_ThreadId) |
|
| DEFINE_STATIC_FAST_MUTEX (s_MainThreadIdMutex) |
|
CThread::TID | sx_GetMainThreadId () |
|
void | sx_SetMainThreadId (CThread::TID id) |
|
static int | sx_GetNextThreadId (void) |
|
| NCBI_PARAM_DECL (bool, Thread, Catch_Unhandled_Exceptions) |
|
| NCBI_PARAM_DEF_EX (bool, Thread, Catch_Unhandled_Exceptions, true, 0, THREAD_CATCH_UNHANDLED_EXCEPTIONS) |
|
typedef | NCBI_PARAM_TYPE (Thread, Catch_Unhandled_Exceptions) TParamThreadCatchExceptions |
|
TWrapperRes | ThreadWrapperCaller (TWrapperArg arg) |
|
static TWrapperRes | ThreadWrapperCallerImpl (TWrapperArg arg) |
|
| NCBI_PARAM_DECL (size_t, Thread, StackSize) |
|
| NCBI_PARAM_DEF_EX (size_t, Thread, StackSize, 2048 *1024, eParam_NoThread, THREAD_STACK_SIZE) |
|
typedef | NCBI_PARAM_TYPE (Thread, StackSize) TParamThreadStackSize |
|
◆ NCBI_THREAD_VALIDATE
◆ NCBI_USE_ERRCODE_X
#define NCBI_USE_ERRCODE_X Corelib_Threads |
◆ FSystemWrapper
◆ DECLARE_TLS_VAR() [1/2]
◆ DECLARE_TLS_VAR() [2/2]
◆ DEFINE_STATIC_FAST_MUTEX() [1/2]
DEFINE_STATIC_FAST_MUTEX |
( |
s_MainThreadIdMutex |
| ) |
|
◆ DEFINE_STATIC_FAST_MUTEX() [2/2]
DEFINE_STATIC_FAST_MUTEX |
( |
s_ThreadMutex |
| ) |
|
◆ DEFINE_STATIC_MUTEX()
DEFINE_STATIC_MUTEX |
( |
s_TlsCleanupMutex |
| ) |
|
◆ NCBI_PARAM_DECL() [1/2]
NCBI_PARAM_DECL |
( |
bool |
, |
|
|
Thread |
, |
|
|
Catch_Unhandled_Exceptions |
|
|
) |
| |
◆ NCBI_PARAM_DECL() [2/2]
NCBI_PARAM_DECL |
( |
size_t |
, |
|
|
Thread |
, |
|
|
StackSize |
|
|
) |
| |
◆ NCBI_PARAM_DEF_EX() [1/2]
NCBI_PARAM_DEF_EX |
( |
bool |
, |
|
|
Thread |
, |
|
|
Catch_Unhandled_Exceptions |
, |
|
|
true |
, |
|
|
0 |
, |
|
|
THREAD_CATCH_UNHANDLED_EXCEPTIONS |
|
|
) |
| |
◆ NCBI_PARAM_DEF_EX() [2/2]
NCBI_PARAM_DEF_EX |
( |
size_t |
, |
|
|
Thread |
, |
|
|
StackSize |
, |
|
|
2048 * |
1024, |
|
|
eParam_NoThread |
, |
|
|
THREAD_STACK_SIZE |
|
|
) |
| |
◆ NCBI_PARAM_TYPE() [1/2]
typedef NCBI_PARAM_TYPE |
( |
Thread |
, |
|
|
Catch_Unhandled_Exceptions |
|
|
) |
| |
◆ NCBI_PARAM_TYPE() [2/2]
typedef NCBI_PARAM_TYPE |
( |
Thread |
, |
|
|
StackSize |
|
|
) |
| |
◆ s_CleanupMainUsedTlsBases()
◆ s_CleanupUsedTlsBases()
◆ s_TlsSetValue()
void s_TlsSetValue |
( |
TTlsKey & |
key, |
|
|
void * |
data, |
|
|
const char * |
err_message |
|
) |
| |
|
inline |
◆ sx_GetMainThreadId()
◆ sx_GetNextThreadId()
◆ sx_SetMainThreadId()
◆ ThreadWrapperCaller()
◆ ThreadWrapperCallerImpl()
◆ kMainThreadId
◆ s_MainUsedTlsBases
◆ sm_MainThreadIdInitialized
◆ sx_MainThreadId