wake up procs in wait channel during Mutex_Unlock

This commit is contained in:
Emil Tsalapatis 2023-09-05 16:37:22 -04:00
parent e991129de9
commit 1c88ad598c

View File

@ -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;