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