Busy-wait behave is different between pthread_mutex_lock and usleep #21662
Replies: 2 comments
-
Do you think you could turn this into a full example that we can run? I don't see how adding a |
Beta Was this translation helpful? Give feedback.
0 replies
-
I realize that this cause by a long |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thread is staring its work after almost one minute! despite of returning to the Browser Main Event Loop.
Not clear to me why, but the solution is calling to
sleep(1).
emcc 3.1.55
Beta Was this translation helpful? Give feedback.
All reactions