From a2ba4372c63e82161987b74458758c4be89bd6ad Mon Sep 17 00:00:00 2001 From: yugui Date: Tue, 30 Dec 2008 11:04:44 +0000 Subject: 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 --- vm_core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_core.h') 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; -- cgit v1.2.3