diff options
-rw-r--r-- | thread_sync.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/thread_sync.c b/thread_sync.c index 67d796233c..41df2dead9 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -199,8 +199,6 @@ mutex_locked(rb_thread_t *th, VALUE self) mutex->next_mutex = th->keeping_mutexes; } th->keeping_mutexes = mutex; - - // th->blocking += 1; } /* @@ -394,8 +392,6 @@ rb_mutex_unlock_th(rb_mutex_t *mutex, rb_thread_t *th, rb_fiber_t *fiber) struct sync_waiter *cur = 0, *next; rb_mutex_t **th_mutex = &th->keeping_mutexes; - // th->blocking -= 1; - mutex->fiber = 0; list_for_each_safe(&mutex->waitq, cur, next, node) { list_del_init(&cur->node); |