* Check to see if we were awoken by a signal. */
| 634 | * Check to see if we were awoken by a signal. |
| 635 | */ |
| 636 | static inline int |
| 637 | sleepq_check_signals(void) |
| 638 | { |
| 639 | struct thread *td; |
| 640 | |
| 641 | td = curthread; |
| 642 | KASSERT((td->td_flags & TDF_SINTR) == 0, |
| 643 | ("thread %p still in interruptible sleep?", td)); |
| 644 | |
| 645 | return (td->td_intrval); |
| 646 | } |
| 647 | |
| 648 | /* |
| 649 | * Block the current thread until it is awakened from its sleep queue. |
no outgoing calls
no test coverage detected