Kohi Game Engine
kmutex.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "defines.h"
4 
10 typedef struct kmutex {
13 
20 
26 KAPI void kmutex_destroy(kmutex *mutex);
27 
34 
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:177
_Bool b8
8-bit boolean type
Definition: defines.h:58
KAPI b8 kmutex_unlock(kmutex *mutex)
KAPI void kmutex_destroy(kmutex *mutex)
Destroys the provided mutex.
KAPI b8 kmutex_lock(kmutex *mutex)
KAPI b8 kmutex_create(kmutex *out_mutex)
struct kmutex kmutex
Definition: kmutex.h:10
void * internal_data
Definition: kmutex.h:11