ruby-changes:54193
From: svn <ko1@a...>
Date: Sun, 16 Dec 2018 16:51:15 +0900 (JST)
Subject: [ruby-changes:54193] svn:r66414 (trunk): * expand tabs.
svn 2018-12-16 16:51:11 +0900 (Sun, 16 Dec 2018) New Revision: 66414 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66414 Log: * expand tabs. Modified files: trunk/thread_pthread.c Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 66413) +++ thread_pthread.c (revision 66414) @@ -1472,7 +1472,7 @@ ubf_timer_arm(rb_pid_t current) /* async https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L1472 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 https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L1485 */ 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) https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L1795 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"); } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/