FIXED: Possible crash when using thread_signal() to a thread that performs
a local stack shift.