mirror of
https://github.com/modmii/SysCheck-ModMii-Edition.git
synced 2024-09-29 00:08:37 +02:00
a3f9a0ef57
-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
20 lines
370 B
C
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 |