X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4c98af3dcf6ab83a095d195accad6943379ab220..323010d1c247d0097b2cdc79d1da143846461999:/src/kernel/context/ContextRaw.hpp?ds=sidebyside diff --git a/src/kernel/context/ContextRaw.hpp b/src/kernel/context/ContextRaw.hpp index 3ade7105e7..fb17bc6176 100644 --- a/src/kernel/context/ContextRaw.hpp +++ b/src/kernel/context/ContextRaw.hpp @@ -40,6 +40,13 @@ private: /** pointer to top the stack stack */ void* stack_top_ = nullptr; +#if HAVE_SANITIZER_ADDRESS_FIBER_SUPPORT + const void* asan_stack_ = nullptr; + size_t asan_stack_size_ = 0; + RawContext* asan_ctx_ = nullptr; + bool asan_stop_ = false; +#endif + static void wrapper(void* arg); }; @@ -76,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