10 #ifndef K_API_SEMAPHORE_H
11 #define K_API_SEMAPHORE_H
14 #include <kApi/Threads/kSemaphore.x.h>
Represents a 64-bit unsigned integer.
kStatus kSemaphore_Wait(kSemaphore semaphore, k64u timeout)
Waits until the semaphore can be decremented or the timeout interval has elapsed. ...
Represents an unsigned integer that can store a pointer address.
Abstract base class for memory allocator types.
kStatus kSemaphore_Post(kSemaphore semaphore)
Increments the semaphore.
Core Zen type declarations.
Represents an error code.
kStatus kSemaphore_Construct(kSemaphore *semaphore, kSize initialCount, kAlloc allocator)
Constructs a semaphore object.