From 2ebd80d1157fcab65d2d854a8a094aec9a849968 Mon Sep 17 00:00:00 2001 From: kosaki Date: Wed, 15 Jun 2011 14:13:01 +0000 Subject: * thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used since r32021. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ thread.c | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6a6081a0bc..0991c3e5b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 15 23:11:35 2011 KOSAKI Motohiro + + * thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used + since r32021. + Wed Jun 15 21:00:47 2011 Martin Bosslet * test/openssl/test_config.rb: execute based on the existence of the diff --git a/thread.c b/thread.c index 914b686f00..208c4be074 100644 --- a/thread.c +++ b/thread.c @@ -114,13 +114,6 @@ static inline void blocking_region_end(rb_thread_t *th, struct rb_blocking_regio rb_thread_set_current(_th_stored); \ } while(0) -#define BLOCKING_REGION_CORE(exec) do { \ - GVL_UNLOCK_BEGIN(); {\ - exec; \ - } \ - GVL_UNLOCK_END(); \ -} while(0); - #define blocking_region_begin(th, region, func, arg) \ do { \ (region)->prev_status = (th)->status; \ -- cgit v1.2.3