summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-16 07:51:11 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-16 07:51:11 +0000
commit3b13bc634f73a9b9cc0602b645048f6448d5ee4c (patch)
tree769dcd92ab1036b7710d7fdd308272fa5fe64313
parentf547d3914853e99fc11a1697b851c9e0d93aaadd (diff)
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--thread_pthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 7cf811d05e..b0160090d8 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1472,7 +1472,7 @@ ubf_timer_arm(rb_pid_t current) /* async signal safe */
switch (ATOMIC_CAS(timer_posix.state, RTIMER_ARMING, RTIMER_ARMED)) {
case RTIMER_DISARM:
/* somebody requested a disarm while we were arming */
- /* may race harmlessly with ubf_timer_destroy */
+ /* may race harmlessly with ubf_timer_destroy */
(void)timer_settime(timer_posix.timerid, 0, &zero, 0);
case RTIMER_ARMING: return; /* success */
@@ -1485,7 +1485,7 @@ ubf_timer_arm(rb_pid_t current) /* async signal safe */
*/
return;
case RTIMER_DEAD:
- /* may race harmlessly with ubf_timer_destroy */
+ /* may race harmlessly with ubf_timer_destroy */
(void)timer_settime(timer_posix.timerid, 0, &zero, 0);
return;
default:
@@ -1795,7 +1795,7 @@ ubf_timer_destroy(void)
if (timer_delete(timer_posix.timerid) < 0)
rb_sys_fail("timer_delete");
- if (ATOMIC_EXCHANGE(timer_posix.state, RTIMER_DEAD) != RTIMER_DEAD) {
+ if (ATOMIC_EXCHANGE(timer_posix.state, RTIMER_DEAD) != RTIMER_DEAD) {
rb_bug("YOU KNOW I'M NOT DEAD\n");
}
}