mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
16cac0b722
commit
2ebd80d115
2 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
7
thread.c
7
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; \
|
||||
|
|
Loading…
Add table
Reference in a new issue