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: tokio-rs/tokio
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: tokio-1.31.0
Choose a base ref
...
head repository: tokio-rs/tokio
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: tokio-1.32.0
Choose a head ref
  • 10 commits
  • 17 files changed
  • 8 contributors

Commits on Aug 12, 2023

  1. streams: create StreamMock for testing Streams (#5915)

    Introduce a new mock type to tests streams and eventually
    sinks. Only includes next() and wait() for now. Fixes #4106
    shade authored Aug 12, 2023
    Configuration menu
    Copy the full SHA
    197757d View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

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

Commits on Aug 14, 2023

  1. sync: move broadcast waiters into separate list before waking (#5925)

    Within `notify_rx`, looping while re-locking and re-reading from
    `Shared.tail` as long as there are still available wakers causes a
    quadratic slowdown as receivers which are looping receiving from the
    channel are added. Instead of continually re-reading from the original
    list, this commit modifies `notify_rx` to move the waiters into a
    separate list immediately similar to how `Notify::notify_waiters` works,
    using a new `WaitersList` struct modified after NotifyWaitersList.
    
    Fixes #5923
    glittershark authored Aug 14, 2023
    Configuration menu
    Copy the full SHA
    3dd5f7a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40633fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82bef00 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. rt(alt): tweak some constants to improve scalability (#5935)

    This patch aims to reduce the number of threads that get no-op wakeups.
    carllerche authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    6e42c26 View commit details
    Browse the repository at this point in the history
  2. io: add Ready::ERROR and report error readiness (#5781)

    Add `Ready::ERROR` enabling callers to specify interest in error readiness. Some platforms use error
    readiness notifications to notify of other events. For example, Linux uses error to notify receipt of
    messages on a UDP socket's error queue.
    
    Using error readiness is platform specific.
    
    Closes #5716
    folkertdev authored Aug 16, 2023
    Configuration menu
    Copy the full SHA
    10e141d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    718dcc8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f5f2b58 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a7d52c2 View commit details
    Browse the repository at this point in the history
Loading