We take this lock in `thread_suspendAll` and release it in `thread_resumeAll`. The idea is that we don't want to let the thread change its suspendability state in the middle of a stop-the-world routine (this would break horribly as the loop might try to e.g. resume a thread that was never suspended).