C# Class WinRTXamlToolkit.Async.AsyncReaderWriterLock

Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Méthode Description
AsyncReaderWriterLock ( ) : System

Initializes a new instance of the AsyncReaderWriterLock class.

ReaderLockAsync ( ) : Task

ReaderLockAsync is used when a new reader wants in.

WriterLockAsync ( ) : Task

WriterLockAsync is used when a new writer wants in.

Private Methods

Méthode Description
ReaderRelease ( ) : void

Called when an active reader completes its work.

WriterRelease ( ) : void

Called when an active writer completes its work.

Method Details

AsyncReaderWriterLock() public méthode

Initializes a new instance of the AsyncReaderWriterLock class.
public AsyncReaderWriterLock ( ) : System
Résultat System

ReaderLockAsync() public méthode

ReaderLockAsync is used when a new reader wants in.
public ReaderLockAsync ( ) : Task
Résultat Task

WriterLockAsync() public méthode

WriterLockAsync is used when a new writer wants in.
public WriterLockAsync ( ) : Task
Résultat Task