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

Moving ThreadExitHandler to a commonly accessible space, adding thread handler usage to SysTrace worker threads

This commit is contained in:
Andrey Voroshilov
2020-07-18 18:24:49 -07:00
parent 416259fdb7
commit 175ec3e3d8
3 changed files with 15 additions and 11 deletions
+11
View File
@@ -10,6 +10,17 @@
namespace tracy
{
class ThreadExitHandler
{
public:
~ThreadExitHandler()
{
#ifdef TRACY_MANUAL_LIFETIME
rpmalloc_thread_finalize();
#endif
}
};
#if defined _WIN32 || defined __CYGWIN__
class Thread