Allow setting thread name using thread handle.

This commit is contained in:
Bartosz Taudul
2017-10-16 21:01:57 +02:00
parent 31fc2335dd
commit 1788408ceb
2 changed files with 10 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ static inline uint64_t GetThreadHandle()
}
void SetThreadName( std::thread& thread, const char* name );
void SetThreadName( std::thread::native_handle_type handle, const char* name );
const char* GetThreadName( uint64_t id );
}