ISemaphore Interface

Quartz.NET 3.0 API Documentation
An interface for providing thread/resource locking in order to protect resources from being altered by multiple threads at the same time.

Namespace:  Quartz.Impl.AdoJobStore
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public interface ISemaphore

The ISemaphore type exposes the following members.

Properties

  NameDescription
Public propertyRequiresConnection
Whether this Semaphore implementation requires a database connection for its lock management operations.
Top
Methods

  NameDescription
Public methodObtainLock
Grants a lock on the identified resource to the calling thread (blocking until it is available).
Public methodReleaseLock
Release the lock on the identified resource if it is held by the calling thread.
Top
See Also

Reference