コード例 #1
0
        internal LockInformation(RtlProcessLockInformation lockInfo)
        {
            this.Address         = lockInfo.Address;
            this.Type            = lockInfo.Type;
            this.OwningThreadId  = lockInfo.OwningThread.ToInt32();
            this.LockCount       = lockInfo.LockCount;
            this.ContentionCount = lockInfo.ContentionCount;
            this.EntryCount      = lockInfo.EntryCount;

            this.RecursionCount = lockInfo.RecursionCount;

            this.SharedWaiters    = lockInfo.NumberOfWaitingShared;
            this.ExclusiveWaiters = lockInfo.NumberOfWaitingExclusive;
        }
コード例 #2
0
        internal LockInformation(RtlProcessLockInformation lockInfo)
        {
            this.Address = lockInfo.Address;
            this.Type = lockInfo.Type;
            this.OwningThreadId = lockInfo.OwningThread.ToInt32();
            this.LockCount = lockInfo.LockCount;
            this.ContentionCount = lockInfo.ContentionCount;
            this.EntryCount = lockInfo.EntryCount;

            this.RecursionCount = lockInfo.RecursionCount;

            this.SharedWaiters = lockInfo.NumberOfWaitingShared;
            this.ExclusiveWaiters = lockInfo.NumberOfWaitingExclusive;
        }