mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-20 00:00:08 +02:00
signal: export SIGINFO on supported platforms.
This commit is contained in:
@@ -32,6 +32,9 @@ use tokio_io::IoFuture;
|
||||
|
||||
pub use self::libc::{SIGUSR1, SIGUSR2, SIGINT, SIGTERM};
|
||||
pub use self::libc::{SIGALRM, SIGHUP, SIGPIPE, SIGQUIT, SIGTRAP};
|
||||
#[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "macos",
|
||||
target_os = "netbsd", target_os = "openbsd"))]
|
||||
pub use self::libc::SIGINFO;
|
||||
|
||||
// Number of different unix signals
|
||||
// (FreeBSD has 33)
|
||||
|
||||
Reference in New Issue
Block a user