diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-10 12:51:37 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-10 12:51:37 +0000 |
commit | c3f3d77225499eba2e2f562024413dd2794c0139 (patch) | |
tree | 70d92934a0490f55e20dbf50aae805f5d9e75706 /ChangeLog | |
parent | fa5cd00340d81b9771866cf635ddc4266546a15f (diff) | |
download | ruby-c3f3d77225499eba2e2f562024413dd2794c0139.tar.gz |
Fixes threading on NativeClient.
* thread_pthread.c (timer_thread_sleep): Extracted out a function from
thread_timer(). Added an alternative implementation for platforms
that lacks select(2) or pipe(2).
(rb_thread_create_timer_thread, native_cond_initialize,
native_cond_destroy): Replaced wrong HAVE_XXX checks.
* configure.in (pthread_attr_init): New check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Sun Jun 10 20:23:14 2012 Yuki Sonoda (Yugui) <yugui@yugui.jp> + + Fixes threading on NativeClient. + + * thread_pthread.c (timer_thread_sleep): Extracted out a function from + thread_timer(). Added an alternative implementation for platforms + that lacks select(2) or pipe(2). + (rb_thread_create_timer_thread, native_cond_initialize, + native_cond_destroy): Replaced wrong HAVE_XXX checks. + + * configure.in (pthread_attr_init): New check. + Sun Jun 10 21:30:11 2012 Tanaka Akira <akr@fsij.org> * process.c (rb_exec_without_timer_thread): renamed from rb_exec_err. |