Thread suspended while holding global mutex