diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-11 14:27:08 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-11 14:27:08 +0000 |
commit | 9d4e471cf974d99ab01fc243b5419c6711888540 (patch) | |
tree | 531f8251fc433d165eb8a946cb9d6b6fad2aa7c0 /ChangeLog | |
parent | 8df20d6b169ed6b8e76927b5ce5db9acb0208a8b (diff) | |
download | ruby-9d4e471cf974d99ab01fc243b5419c6711888540.tar.gz |
* vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT,
RUBY_VM_SET_FINALIZER_INTERRUPT): use atomic ops for preventing
interrupt_flag bit lost.
* thread.c (rb_threadptr_execute_interrupts_rec): ditto.
* vm_core.h (typedef struct rb_thread_struct): change type of
interrupt_flag to rb_atomic_t.
* atomic.h: move atomic ops definition from signal.c.
* signal.c: remove atomic ops definition.
* common.mk (gc, signal, thread, cont): add to dependency to atomic.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32014 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 @@ +Sat Jun 11 23:18:00 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT, + RUBY_VM_SET_FINALIZER_INTERRUPT): use atomic ops for preventing + interrupt_flag bit lost. + * thread.c (rb_threadptr_execute_interrupts_rec): ditto. + * vm_core.h (typedef struct rb_thread_struct): change type of + interrupt_flag to rb_atomic_t. + * atomic.h: move atomic ops definition from signal.c. + * signal.c: remove atomic ops definition. + * common.mk (gc, signal, thread, cont): add to dependency to atomic.h. + Sat Jun 11 23:23:52 2011 Tadayoshi Funaba <tadf@dotrb.org> * ext/date/date_core.c: edited doc. |