handler = (cell)factor::synchronous_signal_handler_impl;
}
- assert(handler != 0);
+ FACTOR_ASSERT(handler != 0);
dispatch_signal_handler(
(cell*)&MACH_STACK_POINTER(thread_state),
{
/* Look up the VM instance involved */
THREADHANDLE thread_id = pthread_from_mach_thread_np(thread);
- assert(thread_id);
+ FACTOR_ASSERT(thread_id);
std::map<THREADHANDLE, factor_vm*>::const_iterator vm = thread_vms.find(thread_id);
/* Handle the exception */
abort ();
}
}
+ return NULL; // quiet warning
}
/* Initialize the Mach exception handler thread. */