Date: Tue, 23 Jun 2009 21:43:02 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty.c src/sys/sys tty.h Message-ID: <200906232143.n5NLhkpi074241@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-06-23 21:43:02 UTC
FreeBSD src repository
Modified files:
sys/kern tty.c
sys/sys tty.h
Log:
SVN rev 194771 on 2009-06-23 21:43:02Z by ed
Improve my last commit: use a separate condvar to serialize.
The advantage of using a separate condvar is that we can just use
cv_signal(9) instead of cv_broadcast(9). It makes no sense to wake up
multiple threads. It also makes the TTY code easier to understand.
t_dcdwait sounds totally unrelated.
Revision Changes Path
1.326 +4 -2 src/sys/kern/tty.c
1.115 +1 -0 src/sys/sys/tty.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906232143.n5NLhkpi074241>
