mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
draft APIs for threading in the core.
also, misc wifi crap, nothing noteworthy.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user