Class ReentrantLock
Inheritance
System.Object
ReentrantLock
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Support.Threading
Assembly: Lucene.Net.dll
Syntax
public class ReentrantLock
Properties
| Improve this Doc View SourceHasQueuedThreads
Declaration
public bool HasQueuedThreads { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
QueueLength
Declaration
public int QueueLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceLock()
Declaration
public void Lock()
TryLock()
Declaration
public bool TryLock()
Returns
Type | Description |
---|---|
System.Boolean |
Unlock()
Declaration
public void Unlock()