Date: Sun, 21 Dec 2008 21:16:57 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty_pts.c Message-ID: <200812212117.mBLLHGc5034116@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2008-12-21 21:16:57 UTC FreeBSD src repository Modified files: sys/kern tty_pts.c Log: SVN rev 186382 on 2008-12-21 21:16:57Z by ed Set PTS_FINISHED before waking up any threads. Inside ptsdrv_{in,out}wakeup() we call KNOTE_LOCKED() to wake up any kevent(2) users. Because the kqueue handlers are executed synchronously, we must set PTS_FINISHED before calling ptsdrv_{in,out}wakeup(). Discovered by: nork Revision Changes Path 1.27 +1 -2 src/sys/kern/tty_pts.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812212117.mBLLHGc5034116>