Define as a real funciton, which restores signal mask and calls __longjmp.