sync/wait_group.sh¶
WaitGroup supports waiting selectively on a group of processes.
- WaitGroup()¶
WaitGroup.
- WaitGroup_add()¶
Add a process id to the wait group.
- WaitGroup_len()¶
Number of process in the group.
- WaitGroup_to_string()¶
String representation of this group.
- WaitGroup_wait()¶
Wait until processes finish.