CSPspEmu.Hle.Modules.threadman.ThreadManForUser.MsgPipe.Init C# (CSharp) Метод

Init() публичный Метод

public Init ( HleThreadManager ThreadManager, PspMemory PspMemory, HleMemoryManager MemoryManager ) : void
ThreadManager CSPspEmu.Hle.Managers.HleThreadManager
PspMemory PspMemory
MemoryManager CSPspEmu.Hle.Managers.HleMemoryManager
Результат void
            public void Init(HleThreadManager ThreadManager, PspMemory PspMemory, HleMemoryManager MemoryManager)
            {
                var BlockType = Attributes.HasFlag(MsgPipeAttributes.UseHighAddress)
                    ? MemoryPartition.Anchor.High
                    : MemoryPartition.Anchor.Low
                ;

                this.ThreadManager = ThreadManager;
                this.PspMemory = PspMemory;
                this.PoolPartition = MemoryManager.GetPartition(PartitionId).Allocate(
                    Size,
                    BlockType,
                    Alignment: 16,
                    Name: "<MsgPipe> : " + Name
                );
            }