Class ThreadLock
Abstract base class that provides a synchronization interface for derived lock types
Inheritance
System.Object
    ThreadLock
  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 abstract class ThreadLock
  Properties
| Improve this Doc View SourceMonitorLock
Wrapper class for the Monitor Enter/Exit methods using the ThreadLock interface
Declaration
public static ThreadLock MonitorLock { get; }
  Property Value
| Type | Description | 
|---|---|
| ThreadLock | 
NullLock
A ThreadLock class that actually does no locking Used in ParallelMultiSearcher/MultiSearcher
Declaration
public static ThreadLock NullLock { get; }
  Property Value
| Type | Description | 
|---|---|
| ThreadLock | 
Methods
| Improve this Doc View SourceEnter(Object)
Declaration
public abstract void Enter(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | 
Exit(Object)
Declaration
public abstract void Exit(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj |