]> Zhao Yanbai Git Server - minix.git/commit
make unpause() decrease susp_count, as it shouldn't be decreased
authorBen Gras <ben@minix3.org>
Fri, 8 May 2009 13:56:41 +0000 (13:56 +0000)
committerBen Gras <ben@minix3.org>
Fri, 8 May 2009 13:56:41 +0000 (13:56 +0000)
commitdc1238b7b9c92348523d07ab96bd43bfd2848075
tree7ed0bcbbaa8a4c944c91a691e0b6b36116844c87
parent113b1ec5f38b055d548633a88336cf23d841198c
 make unpause() decrease susp_count, as it shouldn't be decreased
 if the process was REVIVING. (susp_count doesn't count those
 processes.) this together with dev_io SELECT suspend side effect
 for asynch. character devices solves the hanging pipe bug. or
 at last vastly improves it.

 added sanity checks, turned off by default.

 made the {NOT_,}{SUSPENDING,REVIVING} constants weirder to
 help sanity checking.
servers/vfs/fproc.h
servers/vfs/fs.h
servers/vfs/main.c
servers/vfs/misc.c
servers/vfs/mount.c
servers/vfs/pipe.c
servers/vfs/proto.h
servers/vfs/vnode.c
servers/vfs/vnode.h