There is https://github.com/kripken/emscripten/issues/5518 Implement clock_nanosleep function
https://github.com/kripken/musl-emscripten/blob/emscripten/src/time/clock_nanosleep.c looks like there's a supported syscall emsdk\emscripten\1.38.32\system\lib\clock_nanosleep.c ... but there's a 'libc.symbols' (in just 1.38.32) which only has nanosleep and no clock_nanosleep there is 1.38.32/src which has library_syscall.js ``` __syscall265: function(which, varargs) { // clock_nanosleep #if SYSCALL_DEBUG err('warning: ignoring SYS_clock_nanosleep'); #endif return 0; }, ``` On Mon, Jun 17, 2019 at 7:53 AM Mehdi Sabwat <[email protected]> wrote: > Hello, > > I would like to understand how EMSCRIPTEN integrates musl/it's own > implementation of libc. > > I am trying to make a minimal example work, will you please help me figure > out, what I am missing? > > https://code.videolan.org/snippets/982 > > it seems it is implemented: > https://github.com/emscripten-core/emscripten/blob/incoming/system/lib/libc/musl/src/time/clock_nanosleep.c > > can you please help me figure out how to integrate it? > > Thank you ! > > At your disposal for more info. if needed > > Regards, > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/82a2c072-f47d-4604-8390-4b71157099b4%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/82a2c072-f47d-4604-8390-4b71157099b4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAA2GJqXD163B4DwA-JcBQx-G_xXAbYcYo3FuX5dhbz__2w_AaA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
