Skip to content

Commit

Permalink
Workaround for issue #558
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Shchapov <[email protected]>
  • Loading branch information
phprus committed Jan 3, 2022
1 parent d1667d5 commit 06a1bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tbbmalloc/frontend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1941,7 +1941,7 @@ void StartupBlock::free(void *ptr)
* In theory, we only need values 0 and 2. But value 1 is nonetheless
* useful for detecting errors in the double-check pattern.
*/
static std::atomic<intptr_t> mallocInitialized{0}; // implicitly initialized to 0
static std::atomic<intptr_t> mallocInitialized; // implicitly initialized to 0
static MallocMutex initMutex;

/** The leading "\0" is here so that applying "strings" to the binary
Expand Down

0 comments on commit 06a1bae

Please sign in to comment.