summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread.c b/thread.c
index 9292d78ea63..de953e6994c 100644
--- a/thread.c
+++ b/thread.c
@@ -845,7 +845,7 @@ thread_join_sleep(VALUE arg)
while (target_th->status != THREAD_KILLED) {
if (forever) {
- sleep_forever(th, 1, 0);
+ sleep_forever(th, TRUE, FALSE);
}
else {
double now = timeofday();
@@ -1136,14 +1136,14 @@ void
rb_thread_sleep_forever(void)
{
thread_debug("rb_thread_sleep_forever\n");
- sleep_forever(GET_THREAD(), 0, 1);
+ sleep_forever(GET_THREAD(), FALSE, TRUE);
}
void
rb_thread_sleep_deadly(void)
{
thread_debug("rb_thread_sleep_deadly\n");
- sleep_forever(GET_THREAD(), 1, 1);
+ sleep_forever(GET_THREAD(), TRUE, TRUE);
}
static double