* - Do not sleep between starting the asynchronous task that will fire
* SIG_SINGLE, and the call to sig_wait().
* - Do not call system functions that may implicitly sleep, such as
* - Do not sleep between starting the asynchronous task that will fire
* SIG_SINGLE, and the call to sig_wait().
* - Do not call system functions that may implicitly sleep, such as
- * process or an interrupt calls sig_signal() to set a bit in
- * out sig_recv just after we have checked for it, but before
- * we've set sig_wait to tell them we want to be awaken.
+ * process or an interrupt may call sig_signal() to set a bit in
+ * Process.sig_recv just after we have checked for it, but before
+ * we've set Process.sig_wait to let them know we want to be awaken.
- * In this case, we'd deadlock with the signal bit already
- * set and the process never being reinserted into the ready
- * list.
+ * In this case, we'd deadlock with the signal bit already set
+ * and the process never being reinserted into the ready list.
/**
* Sleep until any of the signals in \a sigs or \a timeout ticks elapse.
* If the timeout elapse a SIG_TIMEOUT is added to the received signal(s).
/**
* Sleep until any of the signals in \a sigs or \a timeout ticks elapse.
* If the timeout elapse a SIG_TIMEOUT is added to the received signal(s).