Commit graph

3 commits

Author SHA1 Message Date
Lewis Baker f1349291ef Fixes to compile cleanly under MSVC warning-level 4 and /analyze.
- Add [[maybe_unused]] to various parameters/variables.
- Rework a few loops in test-cases to get around some warnings
  about unreachable code.
2017-07-06 22:30:05 +09:30
Lewis Baker 1140628b6e Make interface of async_mutex more explicit.
Provide both lock_async() and scoped_lock_async(), the latter
returning an async_mutex_lock.
2017-07-06 22:06:48 +09:30
Lewis Baker 9b1b6024f4 Add cppcoro::async_mutex. 2017-04-19 22:14:21 +09:30