Worker doesn't released until executing sleep(1) in the Main Thread #21873
Unanswered
aharondavid
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I figure it out: I wander why the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
emcc 3.1.55
Worker is stuck on reading a file :
read -> _fd_read -> proxyToMainThread -> emscripten_futex_wait
it released after a few (10) seconds.
but if we execute a
sleep(1)
in the main thread loop, it release immediately.The file is not accessed by the main thread, how it can be explained ?
Beta Was this translation helpful? Give feedback.
All reactions