atomic-waitgroup 0.1.2

A waitgroup implementation supports async with advanced features
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# atomic-waitgroup

A waitgroup support async with advanced features,
implemented with atomic operations to reduce locking in mind.

## Features

* wait_to() is supported to wait for a value larger than zero.

* wait() & wait_to() can be canceled by tokio::time::timeout or futures::select!.

* Assumes only one thread calls wait(). If multiple concurrent wait() is detected,
will panic for this invalid usage.

* done() can be called by multiple coroutines other than the one calls wait().