Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern



Module Name:    src
Committed By:   riastradh
Date:           Sat Oct  3 16:28:04 UTC 2026

Modified Files:
        src/sys/kern: sys_pipe.c

Log Message:
pipe(2): Don't cv_wait_sig in a loop without breaking on signal.

If a signal does arrive, it will turn into a busy wait!  Not helpful.

But this wait should be limited to scheduling delays for other
threads anyway, not for general I/O, so there's no need to be
interruptible by a signal.

Prompted by:

PR kern/59056: poll POLLHUP bugs


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 src/sys/kern/sys_pipe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index