mirror of
https://github.com/Inori/GPCS4.git
synced 2024-05-20 05:00:52 -04:00
temporary fix longjmp crash
see https://sourceforge.net/p/mingw-w64/bugs/944/
This commit is contained in:
parent
84b45f25e7
commit
a45bf85286
4
3rdParty/winpthreads/src/thread.c
vendored
4
3rdParty/winpthreads/src/thread.c
vendored
|
@ -1085,8 +1085,8 @@ pthread_exit (void *res)
|
|||
id->ret_arg = res;
|
||||
|
||||
_pthread_cleanup_dest (id->x);
|
||||
if (id->thread_noposix == 0)
|
||||
longjmp(id->jb, 1);
|
||||
//if (id->thread_noposix == 0)
|
||||
// longjmp(id->jb, 1);
|
||||
|
||||
/* Make sure we free ourselves if we are detached */
|
||||
if ((t = (_pthread_v *)TlsGetValue(_pthread_tls)) != NULL)
|
||||
|
|
Loading…
Reference in a new issue