Module Name: src
Committed By: bouyer
Date: Sat Apr 20 15:21:25 UTC 2013
Modified Files:
src/doc [netbsd-6]: CHANGES-6.1
Log Message:
Ticket 862
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.119 -r1.1.2.120 src/doc/CHANGES-6.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/doc/CHANGES-6.1
diff -u src/doc/CHANGES-6.1:1.1.2.119 src/doc/CHANGES-6.1:1.1.2.120
--- src/doc/CHANGES-6.1:1.1.2.119 Sat Apr 20 14:00:40 2013
+++ src/doc/CHANGES-6.1 Sat Apr 20 15:21:25 2013
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-6.1,v 1.1.2.119 2013/04/20 14:00:40 bouyer Exp $
+# $NetBSD: CHANGES-6.1,v 1.1.2.120 2013/04/20 15:21:25 bouyer Exp $
A complete list of changes from the 6.0 release until the 6.1 release:
@@ -8887,3 +8887,15 @@ sys/kern/subr_kmem.c 1.47
enabled.
[para, ticket #876]
+lib/libpthread/pthread_cond.c 1.60, 1.61
+
+ PR/47703: Yasushi Oshima: pthread_cond_timedwait() does not wait
+ after call pthread_condattr_setclock(CLOCK_MONOTONIC)
+
+ _lwp_park(2) expects a realtime clock, and it gets passed a monotonic
+ one. Since monotonic < real, it never sleeps. This patch adjusts
+ the monotonic clock to be a real one before it passes is to
+ _lwp_park(2). This is the minimal hacky fix and it will be fixed
+ properly in _lwp_park(2) in the future.
+ [christos, ticket #862]
+