AsyncBarrier.SignalAndWait Method
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.
Signals that a participant is ready, and returns a Task that completes when all other participants have also signaled ready.
public:
System::Threading::Tasks::Task ^ SignalAndWait();
public System.Threading.Tasks.Task SignalAndWait ();
member this.SignalAndWait : unit -> System.Threading.Tasks.Task
Public Function SignalAndWait () As Task
Returns
A Task, which will complete (or may already be completed) when the last participant calls this method.