You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
result=asm.dynCall_i(e.data.start_routine);// as a hack, try signature 'i' as fallback.
75
75
}catch(e){
76
-
Atomics.store(HEAPU32,(threadBlock+0/*{{{ C_STRUCTS.pthread.threadStatus }}}*/)>>2,1);// Mark the thread as no longer running.
77
-
_emscripten_futex_wake(threadBlock+0/*{{{ C_STRUCTS.pthread.threadStatus }}}*/,9999);// wake all threads
78
76
if(e==='Canceled!'){
79
77
PThread.threadCancel();
80
78
return;
81
79
}else{
82
80
Atomics.store(HEAPU32,(threadBlock+4/*{{{ C_STRUCTS.pthread.threadExitCode }}}*/)>>2,-2/*A custom entry specific to Emscripten denoting that the thread crashed.*/);
81
+
Atomics.store(HEAPU32,(threadBlock+0/*{{{ C_STRUCTS.pthread.threadStatus }}}*/)>>2,1);// Mark the thread as no longer running.
82
+
_emscripten_futex_wake(threadBlock+0/*{{{ C_STRUCTS.pthread.threadStatus }}}*/,0x7FFFFFFF/*INT_MAX*/);// wake all threads
0 commit comments