//! Signal monitoring.

#[cfg(unix)]
mod unix;

#[cfg(windows)]
mod win;

#[cfg(unix)]
pub use unix::{SigType, sync_sigmon};

#[cfg(all(unix, feature = "tokio"))]
pub use unix::{
  wait_reload, wait_shutdown, wait_term, wait_user1, wait_user2
};

#[cfg(all(windows, feature = "tokio"))]
pub use win::{wait_shutdown, wait_term};

#[cfg(windows)]
pub use win::sync_kill_to_event;

// vim: set ft=rust et sw=2 ts=2 sts=2 cinoptions=2 tw=79 :
