-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Threading_AsyncLock
Andrew Koryavchenko edited this page Jun 17, 2018
·
1 revision
Lock, that can be used with async/await code.
System.Object
CodeJam.Threading.AsyncLock
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public class AsyncLock
VB
Public Class AsyncLock
F#
type AsyncLock = class end
The AsyncLock type exposes the following members.
Name | Description | |
---|---|---|
AsyncLock | Initializes a new instance of the AsyncLock class |
Name | Description | |
---|---|---|
AcquireAsync() | Acquires async lock. | |
AcquireAsync(Int32) | Acquires async lock. | |
AcquireAsync(CancellationToken) | Acquires async lock. | |
AcquireAsync(TimeSpan) | Acquires async lock. | |
AcquireAsync(Int32, CancellationToken) | Acquires async lock. | |
AcquireAsync(TimeSpan, CancellationToken) | Acquires async lock. | |
AcquireSync() | Synchronously acquires async lock. | |
AcquireSync(Int32) | Synchronously acquires async lock. | |
AcquireSync(CancellationToken) | Synchronously acquires async lock. | |
AcquireSync(TimeSpan) | Synchronously acquires async lock. | |
AcquireSync(Int32, CancellationToken) | Synchronously acquires async lock. | |
AcquireSync(TimeSpan, CancellationToken) | Synchronously acquires async lock. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |