summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-30 11:04:44 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-30 11:04:44 +0000
commita2ba4372c63e82161987b74458758c4be89bd6ad (patch)
tree0d5039083b16751401f649b16f2aa8ba83646dd8 /vm_core.h
parent3f9171a28aec8498920f38609719abe0cd000cd9 (diff)
merges r21185 from trunk into ruby_1_9_1.
* thread.c (rb_thread_blocking_region): add a comment. * thread.c (rb_thread_call_without_gvl): added as a alias of rb_thread_blocking_region(). * thread.c (rb_thread_call_with_gvl): added. * vm_core.h (rb_thread_t#blocking_region_buffer): added for rb_thread_call_with_gvl(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index c3f5c013f9..b2ebbc8155 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -363,6 +363,7 @@ typedef struct rb_thread_struct
int slice;
native_thread_data_t native_thread_data;
+ void *blocking_region_buffer;
VALUE thgroup;
VALUE value;