public PspMutex sceKernelCreateMutex(CpuThreadState CpuThreadState, string Name, MutexAttributesEnum Attributes, uint Options) { var PspMutex = new PspMutex(this) { Name = Name, Attributes = Attributes, Options = Options, LockCpuThreadState = CpuThreadState, }; return(PspMutex); }
public int sceKernelUnlockMutex(CpuThreadState CpuThreadState, PspMutex Mutex, int Count) { Mutex.Unlock(CpuThreadState, Count); return(0); }
public int sceKernelLockMutexCB(CpuThreadState CpuThreadState, PspMutex Mutex, int Count, uint *Timeout) { return(sceKernelLockMutex(CpuThreadState, Mutex, Count, Timeout)); }
public int sceKernelLockMutex(CpuThreadState CpuThreadState, PspMutex Mutex, int Count, uint *Timeout) { Mutex.Lock(CpuThreadState, Count, Timeout); return(0); }
public int sceKernelDeleteMutex(CpuThreadState CpuThreadState, PspMutex Mutex) { Mutex.RemoveUid(InjectContext); return(0); }
public int sceKernelCreateMutex(CpuThreadState CpuThreadState, string Name, MutexAttributesEnum Attributes, uint Options) { var PspMutex = new PspMutex(this) { Name = Name, Attributes = Attributes, Options = Options, LockCpuThreadState = CpuThreadState, }; var PspMutexId = MutexList.Create(PspMutex); return PspMutexId; }
public int sceKernelUnlockMutex(CpuThreadState CpuThreadState, PspMutex Mutex, int Count) { Mutex.Unlock(CpuThreadState, Count); return 0; }
public int sceKernelLockMutexCB(CpuThreadState CpuThreadState, PspMutex Mutex, int Count, uint* Timeout) { return sceKernelLockMutex(CpuThreadState, Mutex, Count, Timeout); }
public int sceKernelLockMutex(CpuThreadState CpuThreadState, PspMutex Mutex, int Count, uint* Timeout) { Mutex.Lock(CpuThreadState, Count, Timeout); return 0; }
public int sceKernelDeleteMutex(CpuThreadState CpuThreadState, PspMutex Mutex) { Mutex.RemoveUid(InjectContext); return 0; }