Date: Wed, 21 Feb 2007 11:03:23 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 114790 for review Message-ID: <200702211103.l1LB3NNo003169@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114790 Change 114790 by rdivacky@rdivacky_witten on 2007/02/21 11:03:00 Change the number of woken up threads to N instead of N+1. Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_futex.c#11 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_futex.c#11 (text+ko) ==== @@ -413,7 +413,7 @@ FUTEX_LOCK; TAILQ_FOREACH(wp, &f->f_waiting_proc, wp_list) { - if (count <= n) { + if (count < n) { wakeup_one(wp); count++; } else {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702211103.l1LB3NNo003169>