diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-31 06:31:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-31 06:31:06 +0000 |
commit | 6fe000eb036831acb1d9f66ca2e73e18d11a8459 (patch) | |
tree | b50ff1f2a1968e0151f0f7b42bd0b69b7c0438ef /thread_sync.c | |
parent | 3dd233315a6907a39430eb170a5ce96eb10883eb (diff) | |
download | ruby-6fe000eb036831acb1d9f66ca2e73e18d11a8459.tar.gz |
use TRUE/FALSE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_sync.c')
-rw-r--r-- | thread_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_sync.c b/thread_sync.c index 8869af2deb..9fbe3b0383 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -420,7 +420,7 @@ rb_mutex_abandon_all(rb_mutex_t *mutexes) static VALUE rb_mutex_sleep_forever(VALUE time) { - sleep_forever(GET_THREAD(), 1, 0); /* permit spurious check */ + sleep_forever(GET_THREAD(), TRUE, FALSE); /* permit spurious check */ return Qnil; } |