#waker #io-uring #mio #events #eventfd #cross-thread #coalescing

yanked awaken

Coalescing cross-thread wakers for mio and io_uring

3 releases (breaking)

0.3.0 Mar 20, 2026
0.2.0 Dec 15, 2023
0.1.0 Jan 19, 2023

#2 in #coalescing

27 downloads per month
Used in switchboard

Apache-2.0

6KB
123 lines

Provides a Waker trait to allow using the Waker from mio or a provided Waker that uses eventfd directly (supported only on linux) interchangably.

This is particularly useful in cases where some struct (such as a queue) may be used with either mio-based event loops, or with io_uring. The Waker provided by mio is not directly usable in io_uring based code due to the fact that it must be registered to an event loop (such as epoll).


rustcommon [DEPRECATED]

This repository is deprecated and no longer maintained.

rustcommon was a collection of common libraries used in Rust projects such as Pelikan, rpc-perf, and Rezolus.

Successor Projects

The following crates have been superseded by actively maintained replacements:

Crate Successor
clocksource iopsystems/clocksource
histogram iopsystems/histogram
ratelimit iopsystems/ratelimit

Deprecated (No Successor)

The following crates are deprecated with no replacement:

  • awaken
  • ringlog
  • switchboard
  • waterfall

Authors

A full list of contributors can be found on GitHub.

Dependencies

~0.3–2MB
~38K SLoC