attempting to implement os signal handling. work in progress

This commit is contained in:
hyunghwan.chung
2019-08-12 15:54:09 +00:00
parent f33af85fbc
commit f3c91bbed2
3 changed files with 34 additions and 5 deletions

View File

@ -4774,7 +4774,7 @@ static MOO_INLINE int switch_process_if_needed (moo_t* moo)
{
signal_sem_gcfin:
MOO_LOG0 (moo, MOO_LOG_IC | MOO_LOG_DEBUG, "Signaled GCFIN semaphore\n");
proc = signal_semaphore (moo, moo->sem_gcfin);
proc = signal_semaphore(moo, moo->sem_gcfin);
if (moo->processor->active == moo->nil_process && (moo_oop_t)proc != moo->_nil)
{