aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-08-17 14:27:34 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-08-17 14:27:34 +0900
commita90f29ebb2e3b1b26fb6528104a262537ed251de (patch)
tree870026e3c75ccfb8f5c0d69c74f9681f034d7bf9 /thread.c
parent352e923242a23ba661a8cf91e4c43c156f7d7519 (diff)
downloadruby-a90f29ebb2e3b1b26fb6528104a262537ed251de.tar.gz
procnames-start-lines [ci skip]
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/thread.c b/thread.c
index ed25a96a75..141df11e5d 100644
--- a/thread.c
+++ b/thread.c
@@ -3590,7 +3590,8 @@ rb_thread_variables(VALUE thread)
return ary;
}
-VALUE rb_thread_scheduler_get(VALUE thread)
+VALUE
+rb_thread_scheduler_get(VALUE thread)
{
rb_thread_t * th = rb_thread_ptr(thread);
@@ -3599,7 +3600,8 @@ VALUE rb_thread_scheduler_get(VALUE thread)
return th->scheduler;
}
-VALUE rb_thread_scheduler_set(VALUE thread, VALUE scheduler)
+VALUE
+rb_thread_scheduler_set(VALUE thread, VALUE scheduler)
{
rb_thread_t * th = rb_thread_ptr(thread);
@@ -3624,7 +3626,8 @@ rb_thread_scheduler(VALUE klass)
return rb_thread_scheduler_if_nonblocking(rb_thread_current());
}
-VALUE rb_thread_scheduler_if_nonblocking(VALUE thread)
+VALUE
+rb_thread_scheduler_if_nonblocking(VALUE thread)
{
rb_thread_t * th = rb_thread_ptr(thread);