mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
206305fbd2
Keeping threading functions inside a source file prevents poisoning by including windows.h.
17 lines
257 B
C++
Executable File
17 lines
257 B
C++
Executable File
#ifndef __TRACYSYSTEM_HPP__
|
|
#define __TRACYSYSTEM_HPP__
|
|
|
|
#include <stdint.h>
|
|
#include <thread>
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
uint64_t GetThreadHandle();
|
|
void SetThreadName( std::thread& thread, const char* name );
|
|
const char* GetThreadName( uint64_t id );
|
|
|
|
}
|
|
|
|
#endif
|