mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Use thread-safe exceptions for external unwinding on x64/GCC.
This commit is contained in:
parent
db22ce2ba8
commit
2dd52500ab
@ -256,8 +256,7 @@ LJ_FUNCA int lj_err_unwind_dwarf(int version, _Unwind_Action actions,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if LJ_UNWIND_EXT
|
#if LJ_UNWIND_EXT
|
||||||
/* NYI: this is not thread-safe. */
|
static __thread struct _Unwind_Exception static_uex;
|
||||||
static struct _Unwind_Exception static_uex;
|
|
||||||
|
|
||||||
/* Raise DWARF2 exception. */
|
/* Raise DWARF2 exception. */
|
||||||
static void err_raise_ext(int errcode)
|
static void err_raise_ext(int errcode)
|
||||||
|
Loading…
Reference in New Issue
Block a user