LockUtilities..::..Acquire Method
Acquires a semaphore as a blocking operation. When this is disposed, the semaphore will be released.
Namespace:
Tortuga.AnchorAssembly: Tortuga.Anchor (in Tortuga.Anchor.dll)
Syntax
public static IDisposable Acquire( this SemaphoreSlim semaphore )
<ExtensionAttribute> _ Public Shared Function Acquire ( _ semaphore As SemaphoreSlim _ ) As IDisposable
Parameters
- semaphore
- Type: SemaphoreSlim
The semaphore.

