-
Notifications
You must be signed in to change notification settings - Fork 75
Comparing changes
Open a pull request
base repository: jbaldwin/libcoro
base: v0.14.0
head repository: jbaldwin/libcoro
compare: main
- 9 commits
- 31 files changed
- 5 contributors
Commits on Feb 17, 2025
-
coro::when_any support tuples (different return types!) (#301)
when_any now supports taking a parameter pack of tasks that can all return unique types, the most useful use of this right now is by using when_any to have a task and a timeout. To facilitate this usage coro::io_scheduler has a new schedule function: schedule(stop_token, task, timeout) Closes #300
Configuration menu - View commit details
-
Copy full SHA for 8658123 - Browse repository at this point
Copy the full SHA 8658123View commit details
Commits on Feb 18, 2025
-
sync_wait() remove extra move constructor call (#302)
* sync_wait() remove extra move constructor call User @baderouaich identified that libcoro's sync_wait on a complex object would invoke an extra move constructor that other coroutine libraries did not. This change now correctly forwards the return_value into the promise if the object is move constructible instead of double moving. Closes #286 * fix windows build issues
Configuration menu - View commit details
-
Copy full SHA for 5ace337 - Browse repository at this point
Copy the full SHA 5ace337View commit details
Commits on Feb 21, 2025
-
Configuration menu - View commit details
-
Copy full SHA for eef5815 - Browse repository at this point
Copy the full SHA eef5815View commit details
Commits on Feb 25, 2025
-
task_self_deleting bugfix in copy assignment operator (#305)
It was comparing to `nullptr` not `this`, oops.
Configuration menu - View commit details
-
Copy full SHA for c298be0 - Browse repository at this point
Copy the full SHA c298be0View commit details
Commits on Mar 26, 2025
-
Add support for coro::task<void> for coro::when_any (#310)
Adds support for return type `void` for `when_any` when using ranges. Tuple when_any requires the user to specify the return type as `std::monostate` instad of `void` because `std::variant` does not allow or support `void` as a type per the standard. Closes #306
Configuration menu - View commit details
-
Copy full SHA for 8fc3e27 - Browse repository at this point
Copy the full SHA 8fc3e27View commit details
Commits on May 4, 2025
-
* Adds coro::queue<T> * Pushing elements into the queue will either wake a waiter to immediately consume the value, or push into the queue if there are no current waiters. * Popping elements from the queue will either consume the front immediately if there are elements available, or wait for an element to be pushed. This structure differs from `coro::ring_buffer` in that it has an unbounded size if there are not enough consumers for say a spike in traffic. Use `coro::queue::shutdown_notify_waiters_drain()` to shutdown the queue and wake all waiters. Closes #307 * Make all coro::queue functions async
Configuration menu - View commit details
-
Copy full SHA for 1b82210 - Browse repository at this point
Copy the full SHA 1b82210View commit details
Commits on May 10, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 131cf5d - Browse repository at this point
Copy the full SHA 131cf5dView commit details
Commits on May 24, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 7268432 - Browse repository at this point
Copy the full SHA 7268432View commit details
Commits on May 25, 2025
-
Add coro::default_executor (#321)
* Add coro::default_executor * Fix shopt -u patsub_replacement in .githooks/pre-commit * Improve concurrent initialization of default executor
Configuration menu - View commit details
-
Copy full SHA for 46973cc - Browse repository at this point
Copy the full SHA 46973ccView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.14.0...main