Home
last modified time | relevance | path

Searched refs:g_thread_in_wasm_code (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/v8/src/trap-handler/
Dhandler-shared.cc29 thread_local int g_thread_in_wasm_code; variable
31 static_assert(sizeof(g_thread_in_wasm_code) > 1,
42 if (g_thread_in_wasm_code) { in MetadataLock()
51 if (g_thread_in_wasm_code) { in ~MetadataLock()
Dtrap-handler.h125 extern __thread int g_thread_in_wasm_code;
127 extern thread_local int g_thread_in_wasm_code;
138 TH_DISABLE_ASAN inline bool IsThreadInWasm() { return g_thread_in_wasm_code; } in IsThreadInWasm()
143 g_thread_in_wasm_code = true; in SetThreadInWasm()
150 g_thread_in_wasm_code = false; in ClearThreadInWasm()
Dhandler-inside-posix.cc100 if (!g_thread_in_wasm_code) return false; in TryHandleSignal()
106 g_thread_in_wasm_code = false; in TryHandleSignal()
162 g_thread_in_wasm_code = true; in TryHandleSignal()
Dhandler-inside-win.cc94 g_thread_in_wasm_code = false; in TryHandleWasmTrap()
121 g_thread_in_wasm_code = true; in TryHandleWasmTrap()
Dhandler-outside.cc238 int* GetThreadInWasmThreadLocalAddress() { return &g_thread_in_wasm_code; } in GetThreadInWasmThreadLocalAddress()