// SDK location: /user/pspthreadman.h:282 // SDK declaration: int sceKernelSuspendThread(SceUID thid); public int sceKernelSuspendThread(int thid) { KThread thread = _kernel.GetHandle <KThread>(thid); if (thread == null) { return(-1); } thread.Suspend(); //_kernel.Schedule(); return(0); }