The SimpleSemaphore type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SimpleSemaphore | Initializes a new instance of the SimpleSemaphore class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsLockOwner |
Determine whether the calling thread owns a lock on the identified
resource.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ObtainLock |
Grants a lock on the identified resource to the calling thread (blocking
until it is available).
| |
ReleaseLock | Release the lock on the identified resource if it is held by the calling
thread.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
RequiresConnection |
Whether this Semaphore implementation requires a database connection for
its lock management operations.
|
See Also