AsyncBarrier Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An asynchronous barrier that blocks the signaler until all other participants have signaled.
public ref class AsyncBarrier
[Windows::Foundation::Metadata::WebHostHidden]
class AsyncBarrier
public class AsyncBarrier
type AsyncBarrier = class
Public Class AsyncBarrier
- Inheritance
-
AsyncBarrier
Constructors
AsyncBarrier(Int32) |
Initializes a new instance of the AsyncBarrier class. |
Methods
SignalAndWait() |
Signals that a participant is ready, and returns a Task that completes when all other participants have also signaled ready. |
SignalAndWait(CancellationToken) |
Signals that a participant is ready, and returns a Task that completes when all other participants have also signaled ready. |
Applies to
Thread Safety
This type is thread-safe for all members.