diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-04 16:32:21 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-04 16:32:21 +0000 |
commit | fed26e916bdc9f03f1c27b2bbc47fda6b2236c74 (patch) | |
tree | 8680e807901f2fda90f8365238d4426ae4c23b4c /ChangeLog | |
parent | d6a5698d8a14efa0479347fee7c7a40f4966b823 (diff) | |
download | ruby-fed26e916bdc9f03f1c27b2bbc47fda6b2236c74.tar.gz |
* thread_pthread.c (native_sleep): cut the waiting time up to
100,000,000 because Solaris cond_timedwait() return EINVAL if an
argument is greater than current_time + 100,000,000. This is
considered as a kind of spurious wakeup. The caller to native_sleep
should care about spurious wakeup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Tue Jul 5 01:30:01 2011 Yusuke Endoh <mame@tsg.ne.jp> + + * thread_pthread.c (native_sleep): cut the waiting time up to + 100,000,000 because Solaris cond_timedwait() return EINVAL if an + argument is greater than current_time + 100,000,000. This is + considered as a kind of spurious wakeup. The caller to native_sleep + should care about spurious wakeup. + Tue Jul 5 01:24:26 2011 Yusuke Endoh <mame@tsg.ne.jp> * cont.c: disable FIBER_USE_NATIVE on Solaris because resuming any |