sunshowers.io
...Why bother with signal handling at all? When should you care about signals?Kubernetes on SIGTERM (source).You should care about signals if you’re developing a service. You’re likely going to be running under a service manager like Kubernetes, and the lifecycle generally involves signals.This screenshot shows...
Observations/Thoughts
2024-09-04
~22 min read
vorner.github.io
vorner.github.io
Topics: Async Rust, signal handling, practical patterns
Why RustGrep includes it: arc-swap and signal-hook crates. Thoughtful deep dives.
Categories: async, crate-author
Blog
2026-07-27
~1 min read
redox-os.org
...This week @jackpot51 simplified signal handling by adding an atomic bitmask of pending signals and removing the extra signal handling thread. Work by @mmstick on the mdBook based user manual continues, @huntergoldstein added support to allow builtins to be executed as part of pipelines, and made the RawFDs now managed...
News & Blog Posts
2017-08-01
~9 min read
redox-os.org
...Details here.
@jackpot51 Added the initial implementation of signal handling. Details here.
@jackpot51 Allowed simple signal delivery to PID 1 (the kernel idle process). Details here.
Ion
Ion is a shell for UNIX platforms, and is the default shell in Redox. It is still a work in progress, but much...
News & Blog Posts
2017-07-18
~6 min read
blog.adamchalmers.com
...Signal handling
The Tokio docs have a great example of signal handling, but let's look at a fuller example of a server that listens for a signal. When you start your server, also start an async task (or goroutine, or thread) which listens for that signal, and when the...
Observations/Thoughts
2023-11-22
~6 min read
www.redox-os.org
...Not to mention his extensive work on the NLnet-funded Signals and Process Lifecycle project,
including moving signal handling into Relibc.
And thank you to all our other Relibc contributors, who have implemented many libc functions,
tremendously helping our effort to port Linux/BSD software.
Special thanks to Darley Barreto...
Project/Tooling Updates
2024-09-11
~15 min read
github.com
...For example the working directory, environment variables, signal
/// handling settings, various user/group information, or aspects of stdio
/// file descriptors may have changed. If a "transactional spawn" is required to
/// gracefully handle errors it is recommended to use the cross-platform `spawn`
/// instead.
fn exec(&mut self) -> io::Error;
/// Schedules...
RFC 1359
RFC
2015-11-09
~4 min read
asterinas.github.io
...Refactor floating-point context management in context switching and signal handling
Use iret instead of sysret if the context is not clean
Don’t treat APIC IDs as CPU IDs
Fix some CPUID problems and add support for AMD CPUs
RISC-V:
Add RISC-V timer support
Parse device tree...
Project/Tooling Updates
2025-08-20
~3 min read
rustgrep.dev
...Next-gen trait solver.Core TeamCompiler100Async Rust, signal handling, practical patternsarc-swap and signal-hook crates. Thoughtful deep dives.AsyncCrate Authors101Benchmarking, GPGPU, performanceCriterion.rs origin. De facto Rust benchmarking library.PerformanceCrate Authors102Rune language, musli serialization, Rust librariesRune programming language and musli serialization framework.Crate AuthorsCompiler103Rust tutorials, language features, procedural macrosWell...
Project/Tooling Updates
2026-04-01
~6 min read
tokio.rs
...Since then, it has grown to include a multi-threaded work-stealing
scheduler, APIs for timers, TCP, UDP, UDS, file system access, signal handling,
managing child processes, high performance async aware channels, and more. All
this thanks to a dedicated team of maintainers and an active community
of contributors. Tokio...
News & Blog Posts
2019-08-13
~4 min read
rust-osdev.com
...signal handling and IO
Jeremy Soller on OS Development, Legacy Code, Redox OS and the Future of Memory-Safe Languages (Podcast Interview)
Developing a cryptographically secure bootloader for RISC-V in Rust
Infrastructure and Tooling
In this section, we collect recent updates to rustc, cargo, and other tooling that are...
Newsletters
2024-08-14
~4 min read
redox-os.org
...Details here.
@mmstick Added initial Ctrl+C signal handling support. Details here.
@huntergoldstein Replaced manual bit flags with auto-generated
bit flag construct. Details here.
@huntergoldstein Put the Tokio crates behind a cfg crate for Redox. Details here.
@mmstick Replaced eprintln!() with writeln!(stderr()). Details here.
@mmstick Implemented SIGINT control...
News & Blog Posts
2017-06-27
~6 min read
lucumr.pocoo.org
...So
all that is needed is that the serializer understands the in-band
signalled handle to find the out-of-band value:
impl ser::SerializeStruct for SerializeStruct {
type Ok = Value;
type Error = Error;
fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<(), Error>
where
T: Serialize...
Observations/Thoughts
2021-11-17
~10 min read
lwn.net
...They wanted to emphasize that this wasn't to claim that asynchronous Rust is
bad. "I love async!" They gave
a talk at RustConf 2023 about how it's a
great fit for writing correct POSIX signal-handling code, even. At their job at
Oxide, they use asynchronous Rust throughout...
Observations/Thoughts
2025-09-24
~7 min read
corrode.dev
...Use it!
The key is handling signals like SIGTERM (sent by Kubernetes, systemd, or docker stop) and SIGINT (Ctrl+C).
Here’s a minimal example using tokio-graceful-shutdown, which is a crate that provides good signal handling without much boilerplate.
It introduces a concept of “subsystems” that can run...
Observations/Thoughts
2026-07-22
~22 min read
jake-shadle.github.io
...Linux (and BSD)
SIGABRT
SIGBUS
SIGFPE
SIGILL
SIGSEGV
SIGTRAP
Linux sends signals to registered signal handlers when they are raised, either by the kernel, or by user code. Signal handling is...kind of complicated with various edge cases and caveats, and I've mostly relied on doing a straight port...
Observations/Thoughts
2022-05-25
~34 min read
kunobi.ninja
...kache moved off the Unix-only flock to a portable lock primitive
Cross-platform process and signal handling for the daemon, with the Unix-socket paths cleanly separated from a Windows code path
A path normalizer that understands drive letters and normalizes Unicode, so cache keys stay portable
A platform...
Project/Tooling Updates
2026-05-20
~7 min read
tech.fpcomplete.com
A few years back, I wrote up a detailed blog post on Docker's process 1, orphans, zombies, and signal handling. Please read the gory details if you're interested, but the high level summary is:
On Linux, the process with ID 1 is treated specially, since it's typically...
News & Blog Posts
2019-12-03
~22 min read
notgull.net
...Even if we were to rewrite our Rust code to use only syscalls, there would still need to be some glue code for program initialization, signal handling and threading. All written in Assembly and dirty, dirty C.
No, I see something wondrous. The answer to my prayers. What will purify...
Observations/Thoughts
2023-09-27
~10 min read
kerkour.com
...Signal handles that with their "homemade" XEdDSA algorithm that use X25519 for key exchange and signing, but it adds complexity. Instead, we will convert our Ed25519 keys to X25519 keys when we need to perform the Diffie-Hellman operations.
This deviation from the protocol has no security impact.
Converting Ed25519...
Rust Walkthroughs
2025-07-23
~16 min read