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);
        }
Ejemplo n.º 2
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;
		}