lewissbaker / cppcoro

A library of C++ coroutine abstractions for the coroutines TS
MIT License
3.43k stars 472 forks source link

Add async_auto_reset_event #23

Closed lewissbaker closed 7 years ago

lewissbaker commented 7 years ago

Add an implementation of async_auto_reset_event that allows multiple concurrent awaiters.

It differs from async_manual_reset_event in that a call to set() releases at one pending waiter rather than releasing all pending waiters.

lewissbaker commented 7 years ago

Implemented in 4b20a243b23e692c0c9e048da25bb429cf27b654