Anyone?

On Monday, 4 February 2019 15:35:11 UTC+5:30, NileshM wrote:
>
> Hi,
>
> While working on sockets I've realized that 
> emscripten_socket_message_callback() works only when called from main 
> thread. Also the notifications received are in context of main thread.
>
> 1. Is there a way to receive socket related callbacks on web-worker and 
> register from there? This can greatly simplify our logic which carries out 
> most of its logic in the main thread delaying the socket notifications.
> 2. Is there a way to register socket-fd specific callback instead of 
> global callback?
>
> Thanks!
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to