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);
 }
Ejemplo n.º 6
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;
		}
Ejemplo n.º 7
0
		public int sceKernelUnlockMutex(CpuThreadState CpuThreadState, PspMutex Mutex, int Count)
		{
			Mutex.Unlock(CpuThreadState, Count);
			return 0;
		}
Ejemplo n.º 8
0
		public int sceKernelLockMutexCB(CpuThreadState CpuThreadState, PspMutex Mutex, int Count, uint* Timeout)
		{
			return sceKernelLockMutex(CpuThreadState, Mutex, Count, Timeout);
		}
Ejemplo n.º 9
0
		public int sceKernelLockMutex(CpuThreadState CpuThreadState, PspMutex Mutex, int Count, uint* Timeout)
		{
			Mutex.Lock(CpuThreadState, Count, Timeout);
			return 0;
		}
Ejemplo n.º 10
0
		public int sceKernelDeleteMutex(CpuThreadState CpuThreadState, PspMutex Mutex)
		{
			Mutex.RemoveUid(InjectContext);
			return 0;
		}