Core/TaskScheduler: Remove tsan workaround

This commit is contained in:
SirLynix 2024-02-05 16:53:00 +01:00
parent a4827a99a0
commit bcd64a0ad0
1 changed files with 0 additions and 10 deletions

View File

@ -12,11 +12,6 @@
#include <random>
#include <semaphore>
#include <thread>
#ifdef NAZARA_WITH_TSAN
#include <sanitizer/tsan_interface.h>
#endif
#include <Nazara/Core/Debug.hpp>
namespace Nz
@ -117,11 +112,6 @@ namespace Nz
if (task)
{
#ifdef NAZARA_WITH_TSAN
// Workaround for TSan false-positive
__tsan_acquire(task);
#endif
task();
NotifyTaskCompletion();