summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-15 14:13:01 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-15 14:13:01 +0000
commit2ebd80d1157fcab65d2d854a8a094aec9a849968 (patch)
tree7d89a342c693a6fb7de968d09ea6777711b5293f
parent16cac0b722bfc334ca9ebcb40a2b86c47b263fe5 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--thread.c7
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 <kosaki.motohiro@gmail.com>
+
+ * thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used
+ since r32021.
+
Wed Jun 15 21:00:47 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* 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; \