* Block the current thread until it is awakened from its sleep queue * or it is interrupted by a signal. */
| 664 | * or it is interrupted by a signal. |
| 665 | */ |
| 666 | int |
| 667 | sleepq_wait_sig(const void *wchan, int pri) |
| 668 | { |
| 669 | int rcatch; |
| 670 | |
| 671 | rcatch = sleepq_catch_signals(wchan, pri); |
| 672 | if (rcatch) |
| 673 | return (rcatch); |
| 674 | return (sleepq_check_signals()); |
| 675 | } |
| 676 | |
| 677 | /* |
| 678 | * Block the current thread until it is awakened from its sleep queue |
no test coverage detected