diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-13 08:21:24 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-13 08:21:24 +0000 |
commit | 8f1e7a37e520fd1b105bec102cb05d2b49acf4a2 (patch) | |
tree | f463b7c587f8cfb1d0d5d5704518885b1c3d899e /regint.h | |
parent | d4b7cc796cfbc8224a387d4e906ce1e3908f4970 (diff) | |
download | ruby-8f1e7a37e520fd1b105bec102cb05d2b49acf4a2.tar.gz |
* thread.c (rb_thread_check_ints): added. please note that
this function may cause ruby's thread switching.
* include/ruby/intern.h: ditto.
* regint.h: use rb_thread_check_ints() instead of
RUBY_CHECK_INTS() directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
-rw-r--r-- | regint.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -115,8 +115,7 @@ #ifdef RUBY -#include "vm_core.h" -#define CHECK_INTERRUPT_IN_MATCH_AT RUBY_VM_CHECK_INTS() +#define CHECK_INTERRUPT_IN_MATCH_AT rb_thread_check_ints() #define onig_st_init_table st_init_table #define onig_st_init_table_with_size st_init_table_with_size #define onig_st_init_numtable st_init_numtable |