PERFORCE change 114790 for review

Roman Divacky rdivacky at FreeBSD.org
Wed Feb 21 11:03:25 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=114790

Change 114790 by rdivacky at 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 {


More information about the p4-projects mailing list