#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

