void __cdecl Sys_ThreadMain( void ) { mainthread = GetCurrentThreadId(); Com_InitThreadData(); }
void __cdecl Sys_ThreadMain( void ) { mainthread = pthread_self(); Com_InitThreadData(); }