PERFORCE change 65073 for review
David Xu
davidxu at FreeBSD.org
Sat Nov 13 21:07:17 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=65073
Change 65073 by davidxu at 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);
}
More information about the p4-projects
mailing list