jbaldwin / libcoro

C++20 coroutine library
Apache License 2.0
566 stars 57 forks source link

Make clock using statements public for users #218

Closed jbaldwin closed 9 months ago

jbaldwin commented 9 months ago

The clock using statements were hidden away in a details poll_info file which made it confusing for what to pass into certain scheduler functions. This makes the using statements public so its clear the user can use them (or the underlying chrono types) easily.

Closes #217

jbaldwin commented 9 months ago

@ripose-jp please review if you have some time, I think this is a good solution to your PR you opened recently.

jbaldwin commented 9 months ago

dnf mirrors seem to be having issues today, going to wait until tomorrow to see if fedora 36 gets 'fixed'.

ripose-jp commented 9 months ago

The example from my issue compiles after changing the namespaces and the code LGTM.

jbaldwin commented 9 months ago

:tada: fedora-36 finally fixed their mirror problem.