Code: Select all
draw(SceSize args, void * argp)
Code: Select all
void draw(SceSize args, void * argp)
{
while (1)
{
// print argument list
sceKernelDelayThread(1000000);
}
return(0);
}
void function_1(void)
{
int _tId = sceKernelCreateThread("DrawThread", draw, 0x18, 0x10000, 0, 0);
sceKernelStartThread(_tId, 0, NULL);
}
Could someone please help or give me example that works... I have spend too much time on this and hoping some people here could help.
Please I'm at point of giving up but need this code to generically handle my game threads.