Hi all,

I'm working on getting FLTK to work on the browser. Support code here:
https://github.com/MoAlyousef/fltk_wasm32_emscripten/tree/emscripten
(under the emscripten branch)

Demo here:
https://moalyousef.github.io/fltk_emscripten/

I use emscripten_sleep() in the event loop. This is needed for shown 
dialogs and menu windows. However due to it not supporting reentrancy, I 
sometimes get crashes/errors when spawning a dialog or menu window.

I'm wondering if you have suggestions to work around that?
Is there a way to detect that emscripten_sleep() is currently waiting and 
avoiding reentrancy?

I appreciate all suggestions.
Thank you

-- 
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/a4c1c7c2-d127-4437-92bf-a2fa7392734cn%40googlegroups.com.

Reply via email to