зеркало из https://github.com/github/ruby.git
* 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:
Родитель
ee5f857a05
Коммит
04e2a72f1e
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(); \
|
||||
|
|
Загрузка…
Ссылка в новой задаче