mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Native threads are used on mingw.
This commit is contained in:
parent
0f6101b19a
commit
3fd74a92f9
@ -1085,14 +1085,8 @@ Profiler::Profiler()
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined PTW32_VERSION
|
||||
s_profilerThreadId = pthread_getw32threadid_np( s_thread->Handle() );
|
||||
#elif defined __WINPTHREADS_VERSION
|
||||
s_profilerThreadId = GetThreadId( (HANDLE)pthread_gethandle( s_thread->Handle() ) );
|
||||
#elif defined _MSC_VER
|
||||
s_profilerThreadId = GetThreadId( s_thread->Handle() );
|
||||
#endif
|
||||
#if defined _WIN32
|
||||
s_profilerThreadId = GetThreadId( s_thread->Handle() );
|
||||
AddVectoredExceptionHandler( 1, CrashFilter );
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user