draft APIs for threading in the core.

also, misc wifi crap, nothing noteworthy.
This commit is contained in:
StapleButter
2017-05-19 22:17:28 +02:00
parent d29dc7a2f0
commit edc959dcf5
2 changed files with 26 additions and 3 deletions

View File

@ -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);