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
warnOnce('Attempted to call emscripten_atomic_cancel_wait_async() with a value ATOMICS_WAIT_NOT_EQUAL (1) that is not a valid wait token! Check success in return value from call to emscripten_atomic_wait_async()');
warnOnce('Attempted to call emscripten_atomic_cancel_wait_async() with a value ATOMICS_WAIT_TIMED_OUT (2) that is not a valid wait token! Check success in return value from call to emscripten_atomic_wait_async()');
109
+
}elseif(waitToken>0){
110
+
warnOnce(`Attempted to call emscripten_atomic_cancel_wait_async() with an invalid wait token value ${waitToken}`);
111
+
}
112
+
#endif
113
+
varaddress=liveAtomicWaitAsyncs[waitToken];
114
+
if(address){
115
+
// Notify the waitAsync waiters on the memory location, so that JavaScript
116
+
// garbage collection can occur.
117
+
// See https://github.com/WebAssembly/threads/issues/176
118
+
// This has the unfortunate effect of causing spurious wakeup of all other
119
+
// waiters at the address (which causes a small performance loss).
warnOnce('Attempted to call emscripten_atomic_cancel_wait_async() with a value ATOMICS_WAIT_NOT_EQUAL (1) that is not a valid wait token! Check success in return value from call to emscripten_atomic_wait_async()');
warnOnce('Attempted to call emscripten_atomic_cancel_wait_async() with a value ATOMICS_WAIT_TIMED_OUT (2) that is not a valid wait token! Check success in return value from call to emscripten_atomic_wait_async()');
322
-
}elseif(waitToken>0){
323
-
warnOnce(`Attempted to call emscripten_atomic_cancel_wait_async() with an invalid wait token value ${waitToken}`);
324
-
}
325
-
#endif
326
-
varaddress=liveAtomicWaitAsyncs[waitToken];
327
-
if(address){
328
-
// Notify the waitAsync waiters on the memory location, so that JavaScript
329
-
// garbage collection can occur.
330
-
// See https://github.com/WebAssembly/threads/issues/176
331
-
// This has the unfortunate effect of causing spurious wakeup of all other
332
-
// waiters at the address (which causes a small performance loss).
0 commit comments