1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Merge TracyThread.hpp to TracySystem.cpp.

Keeping threading functions inside a source file prevents poisoning by
including windows.h.
This commit is contained in:
Bartosz Taudul
2017-09-25 21:13:59 +02:00
parent 0d24a2739d
commit 206305fbd2
5 changed files with 41 additions and 57 deletions
+3
View File
@@ -1,12 +1,15 @@
#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 );
}