Searched refs:tlsId (Results 1 – 2 of 2) sorted by relevance
55 static DWORD tlsId = TLS_OUT_OF_INDEXES; variable62 if ( !TlsSetValue( tlsId, p ) ) in _thRun()83 if ( tlsId == TLS_OUT_OF_INDEXES ) in thread_create()85 tlsId = TlsAlloc(); in thread_create()87 if ( tlsId == TLS_OUT_OF_INDEXES ) { return -1; } in thread_create()89 TlsSetValue( tlsId, 0 ); in thread_create()141 if ( tlsId == TLS_OUT_OF_INDEXES ) { return 0; } in thread_self()143 return ( thread_t )TlsGetValue( tlsId ); in thread_self()
293 pthread_key_t tlsId; member in Processes295 DWORD tlsId; member in Processes849 pthread_setspecific(tlsId, 0); in ThreadExit()1165 return (TaskData *)pthread_getspecific(tlsId); in GetTaskDataForThread()1167 return (TaskData *)TlsGetValue(tlsId); in GetTaskDataForThread()1241 pthread_setspecific(tlsId, taskData); in CreateNewTaskData()1243 TlsSetValue(tlsId, taskData); in CreateNewTaskData()1281 TlsSetValue(processesModule.tlsId, taskData); in NewThreadFunction()1972 tlsId = TlsAlloc(); in Init()2004 pthread_key_delete(tlsId); in Stop()[all …]