8000 Comparing v0.14.0...main · jbaldwin/libcoro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jbaldwin/libcoro
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.14.0
Choose a base ref
...
head repository: jbaldwin/libcoro
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 9 commits
  • 31 files changed
  • 5 contributors

Commits on Feb 17, 2025

  1. 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
    jbaldwin authored Feb 17, 2025
    Configuration menu
    Copy the full SHA
    8658123 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2025

  1. 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
    jbaldwin authored Feb 18, 2025
    Configuration menu
    Copy the full SHA
    5ace337 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2025

  1. Configuration menu
    Copy the full SHA
    eef5815 View commit details
    Browse the repository at this point in the history
8000

Commits on Feb 25, 2025

  1. task_self_deleting bugfix in copy assignment operator (#305)

    It was comparing to `nullptr` not `this`, oops.
    jbaldwin authored Feb 25, 2025
    Configuration menu
    Copy the full SHA
    c298be0 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2025

  1. 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
    jbaldwin authored Mar 26, 2025
    Configuration menu
    Copy the full SHA
    8fc3e27 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2025

  1. Adds coro::queue<T> (#311)

    * 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
    jbaldwin authored May 4, 2025
    Configuration menu
    Copy the full SHA
    1b82210 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2025

  1. Configuration menu
    Copy the full SHA
    131cf5d View commit details
    Browse the repository at this point in the history

Commits on May 24, 2025

  1. Configuration menu
    Copy the full SHA
    7268432 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2025

  1. Add coro::default_executor (#321)

    * Add coro::default_executor
    
    * Fix shopt -u patsub_replacement in .githooks/pre-commit
    
    * Improve concurrent initialization of default executor
    dobord authored May 25, 2025
    Configuration menu
    Copy the full SHA
    46973cc View commit details
    Browse the repository at this point in the history
Loading
0