mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread.c: inline should be at beginning of declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ee5f857a05
commit
04e2a72f1e
1 changed files with 2 additions and 2 deletions
4
thread.c
4
thread.c
|
@ -97,9 +97,9 @@ static void set_unblock_function(rb_thread_t *th, rb_unblock_function_t *func, v
|
|||
struct rb_unblock_callback *old);
|
||||
static void reset_unblock_function(rb_thread_t *th, const struct rb_unblock_callback *old);
|
||||
|
||||
static void inline blocking_region_begin(rb_thread_t *th, struct rb_blocking_region_buffer *region,
|
||||
static inline void blocking_region_begin(rb_thread_t *th, struct rb_blocking_region_buffer *region,
|
||||
rb_unblock_function_t *func, void *arg);
|
||||
static void inline blocking_region_end(rb_thread_t *th, struct rb_blocking_region_buffer *region);
|
||||
static inline void blocking_region_end(rb_thread_t *th, struct rb_blocking_region_buffer *region);
|
||||
|
||||
#define GVL_UNLOCK_BEGIN() do { \
|
||||
rb_thread_t *_th_stored = GET_THREAD(); \
|
||||
|
|
Loading…
Reference in a new issue