CVSROOT:        /cvs
Module name:    src
Changes by:     an...@cvs.openbsd.org   2019/11/29 08:15:11

Modified files:
        sys/kern       : sys_pipe.c 
        sys/sys        : pipe.h 

Log message:
Start protecting the pipe_busy field of struct pipe using a global
rwlock. This lock is shared among all pipes for simplicity. In the
future, the lock will probably be replaced with one lock per pipe pair,
just like FreeBSD and NetBSD does.

While here, extract the common rundown wakeup logic into a dedicated
function.

Thanks to cheloha@ for testing and feedback.

ok mpi@ visa@

Reply via email to