WaitGroup


Object Hierarchy:

Object hierarchy for WaitGroup

Description:

public class WaitGroup : Object

Waits for a collection of tasks to complete.

WaitGroup tracks in-flight task count via add()/done() and blocks with wait() until all tasks complete.

Example:

    var wg = new WaitGroup ();
wg.add (2);
// workers call wg.done ()
wg.wait ();


Namespace: Vala.Concurrent
Package: Valacore

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object