mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Proper function name.
This commit is contained in:
parent
7ecc6b54d4
commit
f71af873c0
@ -92,7 +92,7 @@ void SetThreadName( std::thread::native_handle_type handle, const char* name )
|
||||
# ifdef _WIN32
|
||||
data->id = GetThreadId( static_cast<HANDLE>( handle ) );
|
||||
# elif defined __APPLE__
|
||||
pthread_thread_id( handle, &data->id );
|
||||
pthread_threadid_np( handle, &data->id );
|
||||
# else
|
||||
data->id = (uint64_t)handle;
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user