Date: Sun, 14 Nov 2004 05:07:16 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 65073 for review Message-ID: <200411140507.iAE57GN4056303@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=65073 Change 65073 by davidxu@davidxu_alona on 2004/11/14 05:07:11 use wakeup not wakeup_one, it is unknown who is waiting on the wchan. Affected files ... .. //depot/projects/davidxu_ksedbg/src/sys/kern/kern_thr.c#5 edit Differences ... ==== //depot/projects/davidxu_ksedbg/src/sys/kern/kern_thr.c#5 (text+ko) ==== @@ -308,7 +308,7 @@ mtx_lock_spin(&sched_lock); ttd->td_flags |= TDF_THRWAKEUP; mtx_unlock_spin(&sched_lock); - wakeup_one((void *)ttd); + wakeup((void *)ttd); PROC_UNLOCK(td->td_proc); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411140507.iAE57GN4056303>