2023-10-25 14:47:45 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <glacier/status/error.h>
|
|
|
|
|
|
|
|
#include "include/zcall.h"
|
|
|
|
|
|
|
|
glcr::ErrorCode MutexCreate(ZMutexCreateReq* req);
|
|
|
|
glcr::ErrorCode MutexLock(ZMutexLockReq* req);
|
|
|
|
glcr::ErrorCode MutexRelease(ZMutexReleaseReq* req);
|
2023-11-22 10:19:56 -08:00
|
|
|
|
|
|
|
glcr::ErrorCode SemaphoreCreate(ZSemaphoreCreateReq* req);
|
|
|
|
glcr::ErrorCode SemaphoreWait(ZSemaphoreWaitReq* req);
|
|
|
|
glcr::ErrorCode SemaphoreSignal(ZSemaphoreSignalReq* req);
|