diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-19 11:07:53 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-19 11:07:53 +0000 |
commit | 0a2da327f46ec0e129de52f668d00f04f2529b7e (patch) | |
tree | 7be3cb7c24c8e1cc4e03a177c6d3f04abadc6a6e /thread.c | |
parent | 7643e4604bc5a661d10c7940b948ae6c66694f09 (diff) |
* thread.c (rb_thread_blocking_region_end): replaced GET_THREAD()
with ruby_thread_from_native(). We don't have GVL here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1070,7 +1070,7 @@ void rb_thread_blocking_region_end(struct rb_blocking_region_buffer *region) { int saved_errno = errno; - rb_thread_t *th = GET_THREAD(); + rb_thread_t *th = ruby_thread_from_native(); blocking_region_end(th, region); xfree(region); RUBY_VM_CHECK_INTS_BLOCKING(th); |