Closed
Description
It seems that emscripten_sleep
with ASYNCIFY=1
, when called with low amount of ms (e.g. 16 or 1) often sleeps for 1000 ms or 0 ms instead of the requested amount.
See further down for bisection.
Reproducer: https://github.com/benjamin-sieffert/emscripten-sleep-bug
All details for how to run are in the repo.
Sorry the reproducer being in Rust – it does work with older versions of emscripten (see below), so this must be related to emscripten somehow.
Metadata
Metadata
Assignees
Labels
No labels