Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 01/02/2008 19:16:02
Module Name:	src
Committed By:	yamt
Date:		Wed Jan  2 19:16:02 UTC 2008

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

Log Message:
remove PIPE_WANTW, PIPE_WANTR and PIPE_WANTCLOSE.  cv_waiters is enough.
this fixes a deadlock between pipe_direct_write and pipeclose.

XXX this code should be simplified.
it's mostly pointless to have two struct pipes linked together,
esp. when we don't support bi-directional pipes.


To generate a diff of this commit:
cvs rdiff -r1.92 -r1.93 src/sys/kern/sys_pipe.c
cvs rdiff -r1.22 -r1.23 src/sys/sys/pipe.h

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