signal-hook

Rust library allowing to register multiple handlers for the same signal (by vorner)

Signal-hook Alternatives

Similar projects and alternatives to signal-hook

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better signal-hook alternative or higher similarity.

signal-hook reviews and mentions

Posts with mentions or reviews of signal-hook. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-03.
  • Problems adding feature to crate
    1 project | /r/rust | 13 Dec 2022
    I want to use signal-hook-tokio from here: https://github.com/vorner/signal-hook/blob/master/signal-hook-tokio/src/lib.rs. It says that I need to enable a feature to make the next() method works. I did that, but I still get an error:
  • How to do graceful shutdown in rust for cli programs?
    5 projects | /r/rust | 3 Apr 2021
    If you're interested in the techniques people use here, you might take a look at signalfd - which gives you a way to read signals as-if through a file pipe (so you can use it with things like select/epoll loops) - or signal-hook's implementation of the signal-pipe pattern (which makes use of the fact that write is on the list of async-signal-safe system calls).
  • Handling Unix Kill Signals in Rust
    1 project | dev.to | 20 Feb 2021
    This may change, but as of now, the crate documentation has 2 examples on the front page - one that is very simple, which we will take a closer look at below, and one that is overly complex, which uses features that are unlikely to be commonly needed, and won't compile without enabling extra features. We'll slowly work our way from the simple example, to a more complex one that resembles the one in the documentation.
  • A note from our sponsor - WorkOS
    workos.com | 26 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic signal-hook repo stats
4
655
4.7
6 days ago

vorner/signal-hook is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of signal-hook is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com