cvs commit: src/sys/kern kern_proc.c tty.c
Ed Schouten
ed at FreeBSD.org
Tue Sep 16 14:57:30 UTC 2008
ed 2008-09-16 14:57:23 UTC
FreeBSD src repository
Modified files:
sys/kern kern_proc.c tty.c
Log:
SVN rev 183076 on 2008-09-16 14:57:23Z by ed
Fix minor TTY API inconsistency.
Unlike tty_rel_gone() and tty_rel_sess(), the tty_rel_pgrp() routine
does not unlock the TTY. I once had the idea to make the code call
tty_rel_pgrp() and tty_rel_sess(), picking up the TTY lock once. This
turned out a little harder than I expected, so this is how it works now.
It's a lot easier if we just let tty_rel_pgrp() unlock the TTY, because
the other routines do this anyway.
Revision Changes Path
1.268 +0 -1 src/sys/kern/kern_proc.c
1.289 +3 -0 src/sys/kern/tty.c
More information about the cvs-src
mailing list