SysCheck-ModMii-Edition/include/thread.h
Joostinonline a3f9a0ef57 -Touched up cogs
-Added mutex functions, hopefully that will fix flashing issues (I really need to start testing this stuff)
-Some background optimizations and code cleanup
-Added PORTLIBS to Makefile
2013-12-02 18:08:33 +00:00

20 lines
370 B
C

#ifndef __THREAD_H__
#define __THREAD_H__
#include <ogc/lwp.h>
extern lwp_t Cog_Thread;
extern u8 Cog_Num;
extern vu8 done;
void InitThread(void);
void * DrawCogThread(void *arg);
s32 PauseThread(void);
s32 ResumeThread(void);
s32 StopThread(void);
void InitMutex(void);
void DeinitMutex(void);
void LockMutex(void);
void UnlockMutex(void);
#endif