Internal Emscripten function, called from runtime_pthread.js
void _emscripten_check_mailbox()
thread_mailbox.c