Ok, thanks for the answer. I started experimenting implementing the timers 
in my code with `emscripten_set_interval` and `emscripten_set_timeout` in 
the web build. Do you think this could be the approach also for 
implementing them in library_syscalls.js?

-- 
Kalle

On Thursday, 27 August 2020 at 22:26:32 UTC+3 [email protected] wrote:

> 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/fa5a792f-b10c-4477-9572-8f8f3ab72c4en%40googlegroups.com.

Reply via email to