Date: Tue, 26 Feb 2002 23:35:59 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_pipe.c src/sys/sys pipe.h Message-ID: <200202270735.g1R7ZxR71022@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2002/02/26 23:35:59 PST
Modified files:
sys/kern sys_pipe.c
sys/sys pipe.h
Log:
First rev at making pipe(2) pipe's MPsafe.
Both ends of the pipe share a pool_mutex, this makes allocation
and deadlock avoidance easy.
Remove some un-needed FILE_LOCK ops while I'm here.
There are some issues wrt to select and the f{s,g}etown code that
we'll have to deal with, I think we may also need to move the calls
to vfs_timestamp outside of the sections covered by PIPE_LOCK.
Revision Changes Path
1.89 +68 -22 src/sys/kern/sys_pipe.c
1.18 +9 -2 src/sys/sys/pipe.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202270735.g1R7ZxR71022>
