Commit graph

9 commits

Author SHA1 Message Date
Lewis Baker
03fd87422b Merge branch 'master' into feature/generic_ops 2017-11-23 13:12:55 +10:30
Lewis Baker
e238ff4922 Fix comment typo. 2017-11-22 22:04:33 +10:30
Lewis Baker
2c4aa14003 Add some #include <ostream> to work around doctest issue.
Fixes some unresolved symbol issues when building subsets
of test files with libc++/clang.
2017-10-25 20:29:08 +10:30
Lewis Baker
3d97b79294 Silence some Clang warnings about unused return values in tests. 2017-08-24 22:47:30 +09:30
Lewis Baker
bf9eb2c581 Rename lazy_task -> task, shared_lazy_task -> shared_task.
No need to keep the 'lazy' term in the name to distinguish it
from eager tasks as all task are lazy now.
2017-08-17 21:14:34 +09:30
Lewis Baker
b78bc3ed7b Update some tests to avoid using cppcoro::task<>.
Use lazy_task<>, sync_wait() and when_all[_ready]() instead in
preparation for phasing out task<>.
2017-08-14 09:20:52 +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
82e577ac82 Update to use doctest 1.2.1
Fixes compilation issue when mixing doctest.h with <thread>.
Removed some workarounds in some test source files.
2017-05-30 14:09:43 +09:30
Lewis Baker
9a620aa4c5 Change tests to use doctest testing framework.
Break out tests to separate files per abstraction.
2017-05-22 06:34:19 +09:30