Hi,

I was just going thru the source when I noticed the presence of mutex in 
emscripten 
<https://github.com/kripken/emscripten/tree/b3efd9328f940034e1cab45af23bf29541e0d8ff>
/system 
<https://github.com/kripken/emscripten/tree/b3efd9328f940034e1cab45af23bf29541e0d8ff/system>
/include/libcxx/mutex and pthreads in emscripten 
<https://github.com/kripken/emscripten/tree/667dcd241886fdb878e248d95d8e03abb09c80b7>
/system 
<https://github.com/kripken/emscripten/tree/667dcd241886fdb878e248d95d8e03abb09c80b7/system>
/include 
<https://github.com/kripken/emscripten/tree/667dcd241886fdb878e248d95d8e03abb09c80b7/system/include>
/libc 
<https://github.com/kripken/emscripten/tree/667dcd241886fdb878e248d95d8e03abb09c80b7/system/include/libc>
/pthread.h. Since the browser is single-threaded, may I know how do we 
implement mutexes and pthreads under the hoods? Do we really implement 
synchronization in a multi-threading context? Is this supported only in 
FireFox Nightly or in Chrome as well? 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