1
0
Fork 0
mirror of https://gitlab.com/niansa/libcrosscoro.git synced 2025-03-06 20:53:32 +01:00
Commit graph

5 commits

Author SHA1 Message Date
Josh Baldwin
8a64687510
coro::mutex (#35) 2021-01-16 20:27:11 -07:00
Josh Baldwin
76b41a6ca0
Scheduler now correctly co_await's the user tasks from cleanup task (#14)
Previously it set the continuation manually, which sort of works but
is not canonical.
2020-10-28 17:35:23 -06:00
Josh Baldwin
2fb6624c48
thread_pool allow functors to be executed standalone (#12)
* thread_pool allow functors to be executed standalone

Closes #11

* Fix wakup issue for executors (whoops deleted a !)
2020-10-27 21:42:59 -06:00
Josh Baldwin
33df116b40
Add coro::thread_pool (#10)
Closes #9
2020-10-26 11:51:24 -06:00
Josh Baldwin
c548433dd9
Correctly implement sync_wait and when_all_awaitable (#8)
See issue for more details, in general attempting to
implement a coro::thread_pool exposed that the coro::sync_wait
and coro::when_all only worked if the coroutines executed on
that same thread.  They should now possibly have the ability
to execute on another thread, to be determined in a later issue.

Fixes #7
2020-10-25 20:54:19 -06:00