tracy/common/TracySystem.hpp
Bartosz Taudul 206305fbd2 Merge TracyThread.hpp to TracySystem.cpp.
Keeping threading functions inside a source file prevents poisoning by
including windows.h.
2017-09-25 21:13:59 +02:00

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