Research prototype for Emscripten pthreads support: Gecko side.