diff --git a/sys/kern/mutex.c b/sys/kern/mutex.c index 84c8c94..cc8cbcd 100644 --- a/sys/kern/mutex.c +++ b/sys/kern/mutex.c @@ -95,6 +95,7 @@ Mutex_Unlock(Mutex *mtx) mtx->status = MTX_STATUS_UNLOCKED; mtx->owner = NULL; + WaitChannel_Wake(&mtx->chan); Spinlock_Unlock(&mtx->lock); return;