diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-06 18:17:14 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-06 18:17:14 +0000 |
commit | 7ac6b706b418db4311ce64219c6156ec628453de (patch) | |
tree | b0299301082ef6b877190e8b46c6caf74137be00 /ChangeLog | |
parent | 2d7a5f6553a14431741f1469d76b774e4d6ac4c3 (diff) | |
download | ruby-7ac6b706b418db4311ce64219c6156ec628453de.tar.gz |
sleep_cond use monotonic time if possible.
* thread_pthread.c (native_thread_init): change sleep_cond
attribute to monotonic.
* thread_pthread.c (native_sleep): use native_cond_timeout().
* thread_pthread.c (native_cond_timeout): add overflow care.
* thread_win32.c (native_cond_timeout): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Sat May 7 03:14:13 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + sleep_cond use monotonic time if possible. + + * thread_pthread.c (native_thread_init): change sleep_cond + attribute to monotonic. + * thread_pthread.c (native_sleep): use native_cond_timeout(). + + * thread_pthread.c (native_cond_timeout): add overflow care. + * thread_win32.c (native_cond_timeout): ditto. + Sat May 7 02:49:12 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> fix win32 compile error. |