X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/19f126eb38fbe1a5831eac6ed114f14d024772d8..323010d1c247d0097b2cdc79d1da143846461999:/src/kernel/context/ContextRaw.hpp diff --git a/src/kernel/context/ContextRaw.hpp b/src/kernel/context/ContextRaw.hpp index 6996280d5e..fb17bc6176 100644 --- a/src/kernel/context/ContextRaw.hpp +++ b/src/kernel/context/ContextRaw.hpp @@ -40,7 +40,7 @@ private: /** pointer to top the stack stack */ void* stack_top_ = nullptr; -#if HAVE_SANITIZE_ADDRESS_FIBER_SUPPORT +#if HAVE_SANITIZER_ADDRESS_FIBER_SUPPORT const void* asan_stack_ = nullptr; size_t asan_stack_size_ = 0; RawContext* asan_ctx_ = nullptr; @@ -83,7 +83,7 @@ private: static simgrid::xbt::Parmap* parmap_; static std::vector workers_context_; static std::atomic threads_working_; - static xbt_os_thread_key_t worker_id_key_; + static uintptr_t thread_local worker_id_; }; #endif