Searched refs:g_thread_in_wasm_code (Results 1 – 5 of 5) sorted by relevance
29 thread_local int g_thread_in_wasm_code; variable31 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()
125 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()
100 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()
94 g_thread_in_wasm_code = false; in TryHandleWasmTrap()121 g_thread_in_wasm_code = true; in TryHandleWasmTrap()
238 int* GetThreadInWasmThreadLocalAddress() { return &g_thread_in_wasm_code; } in GetThreadInWasmThreadLocalAddress()