Newer
Older
invertedlogic / InvertedLogic / iLPlatform / iLThreads.h
@John Ryland John Ryland on 10 Nov 2019 406 bytes rename
#ifndef IL_THREAD_H
#define IL_THREAD_H


#include "iLTypes.h"


typedef iLResult (*iLThreadProc)(void);


static inline iLResult iLThread_Create(iLThread* a_thread, iLThreadProc a_proc);
static inline iLResult iLThread_Destroy(iLThread* a_thread);
static inline iLResult iLThread_GetCurrent(iLThread* a_thread);
static inline iLResult iLThread_Yield();


#include "iLThreads.inl"


#endif // IL_THREAD_H