It looks like we do not support that today. `timer_create.c` is excluded from the musl build in system_libs.py.
If you'd like to add it that would be most welcome. It looks like you'd need to enable that `.c` file and then implement the time_create syscall in library_syscalls.js. cheers, sam On Thu, Aug 27, 2020 at 10:45 AM Kalle Huttunen <[email protected]> wrote: > Does Emscripten support POSIX timers? My code using them compiles, but > fails to link with undefined references to timer_create() and friends. I'm > wondering am I missing some linker flag etc or are they just not supported. > > -- > Kalle > > -- > 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/b6b76dd4-90ea-453a-ae4a-56355075d061n%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/b6b76dd4-90ea-453a-ae4a-56355075d061n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAL_va2-iTSwnXqLRxNHv0AFjKmMb7XwqxUpB892dsnQBL6wRoA%40mail.gmail.com.
