Internal Emscripten function.
void emscripten_main_thread_process_queued_calls()
See library_pthread.c