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