Date: Tue, 16 Sep 2008 14:57:23 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_proc.c tty.c Message-ID: <200809161457.m8GEvTHj004999@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809161457.m8GEvTHj004999>
