summaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-30 07:57:53 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-30 07:57:53 +0000
commit5fc8fd3c87722c5cf032acfdd2bce417ff24c621 (patch)
tree48e3262b26982e893adcc36fd7722298d5ea03ce /vm_core.h
parent06ca40ab12e390f51dd5f87dda7aa4093bca8b5d (diff)
downloadruby-5fc8fd3c87722c5cf032acfdd2bce417ff24c621.tar.gz
ruby-5fc8fd3c87722c5cf032acfdd2bce417ff24c621.tar.xz
ruby-5fc8fd3c87722c5cf032acfdd2bce417ff24c621.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@21185 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 1fa566268..fea803986 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;