diff options
Diffstat (limited to 'src/Platform.h')
-rw-r--r-- | src/Platform.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Platform.h b/src/Platform.h index 3e0b376..d2d8199 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -24,6 +24,20 @@ namespace Platform { +void* Thread_Create(void (*func)()); +void Thread_Free(void* thread); +void Thread_Wait(void* thread); + +void* Event_Create(); +void Event_Free(void* event); +void Event_Wait(void* event); +void Event_Signal(void* event); + +void* Semaphore_Create(); +void Semaphore_Free(void* sema); +void Semaphore_Wait(void* sema); +void Semaphore_Post(void* sema); + bool MP_Init(); void MP_DeInit(); int MP_SendPacket(u8* data, int len); |