Agnos.Utils.ReentrantLock.IsHeldByCurrentThread C# (CSharp) Method

IsHeldByCurrentThread() public method

tests whether the lock is held by the current (calling) thread
public IsHeldByCurrentThread ( ) : bool
return bool
        public bool IsHeldByCurrentThread()
        {
            return owner == Thread.CurrentThread;
        }