From 721ce2b54023658a3f238383a3d98385000b80ad Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Fri, 29 Jun 2018 06:14:35 +0000 Subject: [PATCH] fixed some comments --- moo/lib/exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moo/lib/exec.c b/moo/lib/exec.c index d4d2db3..d2fa5dd 100644 --- a/moo/lib/exec.c +++ b/moo/lib/exec.c @@ -947,6 +947,7 @@ static MOO_INLINE moo_oop_t await_semaphore_group (moo_t* moo, moo_oop_semaphore moo_ooi_t count; int sems_idx; + /* there is a semaphore signaled in the group */ count = MOO_OOP_TO_SMOOI(sem->count); MOO_ASSERT (moo, count > 0); count--; @@ -4165,7 +4166,7 @@ static MOO_INLINE int switch_process_if_needed (moo_t* moo) { moo_ntime_t ft; - /* no runnable process while there is an io semaphore being waited */ + /* no runnable process while there is an io semaphore being waited for */ if ((moo_oop_t)moo->sem_gcfin != moo->_nil && moo->sem_gcfin_sigreq) goto signal_sem_gcfin; do