waitingAsync
Whether the thread has executed an Atomics.waitAsync
on this pthread struct and can be notified of new mailbox messages via Atomics.notify
. Otherwise, such as when the environment does not implement Atomics.waitAsync
or when the thread has not had a chance to initialize itself yet, the notification has to fall back to the postMessage path. Once this becomes true, it remains true so we never fall back to postMessage unnecessarily.