[refactor]: clock_nanosleep in emscripten
this implementation seems easier to understand and less error prone than the one currently in vlc :
https://github.com/emscripten-core/emscripten/blob/master/system/lib/libc/musl/src/time/nanosleep.c
this implementation seems easier to understand and less error prone than the one currently in vlc :
https://github.com/emscripten-core/emscripten/blob/master/system/lib/libc/musl/src/time/nanosleep.c
VideoLAN code repository instance