Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2021-06-13 13:15:36 +0300
committerBartosz Taudul <wolf@nereid.pl>2021-06-13 13:15:36 +0300
commitd07db80b441ca196aaadeada42c9a558715fea6f (patch)
tree4b7685aad6ee9e599d9f75f9ab6c103e758e807f /common
parentf4d80a4f5ff303862d43172fa0b23e6c1f619d9c (diff)
Fix rpmalloc init for shared libraries.
Diffstat (limited to 'common')
-rw-r--r--common/TracyAlloc.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/common/TracyAlloc.hpp b/common/TracyAlloc.hpp
index 27861c97..0ee01716 100644
--- a/common/TracyAlloc.hpp
+++ b/common/TracyAlloc.hpp
@@ -13,13 +13,7 @@ namespace tracy
{
#ifdef TRACY_ENABLE
-extern thread_local bool RpThreadInitDone;
-TRACY_API void InitRpmallocPlumbing();
-
-static tracy_force_inline void InitRpmalloc()
-{
- if( !RpThreadInitDone ) InitRpmallocPlumbing();
-}
+TRACY_API void InitRpmalloc();
#endif
static inline void* tracy_malloc( size_t size )