1 #ifndef _K_SEMAPHORE_H_
2 #define _K_SEMAPHORE_H_
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
unsigned int u32
Unsigned 32-bit integer.
Definition: defines.h:25
_Bool b8
8-bit boolean type
Definition: defines.h:58
unsigned long long u64
Unsigned 64-bit integer.
Definition: defines.h:28
KAPI b8 ksemaphore_signal(ksemaphore *semaphore)
KAPI b8 ksemaphore_wait(ksemaphore *semaphore, u64 timeout_ms)
KAPI void ksemaphore_destroy(ksemaphore *semaphore)
struct ksemaphore ksemaphore
KAPI b8 ksemaphore_create(ksemaphore *out_semaphore, u32 max_count, u32 start_count)
Definition: ksemaphore.h:6
void * internal_data
Definition: ksemaphore.h:7