The ISemaphore type exposes the following members.
Methods
Name | Description | |
---|---|---|
IsLockOwner |
Determine whether the calling thread owns a lock on the identified
resource.
| |
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.
|
Properties
Name | Description | |
---|---|---|
RequiresConnection |
Whether this Semaphore implementation requires a database connection for
its lock management operations.
|
See Also