+
+ // If a signal was raised, we need to service it
+ // XXX the scheduler loop really should be calling
+ // startSignalHandlers(), but this is the way that posix/Select.c
+ // does it and I'm feeling too paranoid to refactor it today --SDM
+ if (stg_pending_events != 0) {
+ startSignalHandlers(&MainCapability);
+ return;