[Zion] Add a semaphore primitive with related syscalls.

This commit is contained in:
Drew Galbraith 2023-11-22 10:19:56 -08:00
parent 2df1f6c006
commit da3901e104
9 changed files with 107 additions and 1 deletions

View file

@ -7,3 +7,7 @@
glcr::ErrorCode MutexCreate(ZMutexCreateReq* req);
glcr::ErrorCode MutexLock(ZMutexLockReq* req);
glcr::ErrorCode MutexRelease(ZMutexReleaseReq* req);
glcr::ErrorCode SemaphoreCreate(ZSemaphoreCreateReq* req);
glcr::ErrorCode SemaphoreWait(ZSemaphoreWaitReq* req);
glcr::ErrorCode SemaphoreSignal(ZSemaphoreSignalReq* req);