mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
signal: Implement the wake-up part of the new signal handling
Register the signal handler that wakes up someone through a self-pipe. That someone doesn't yet exist, though. Some dependencies (nix, lazy_static) added to speed up the prototyping process. They are likely to be dropped in some future commits. Some features (eg. preserving the previous signal handlers) are still missing.
This commit is contained in:
committed by
Carl Lerche
parent
4142dc2fae
commit
ed4359bb26
@@ -25,6 +25,8 @@
|
||||
#[macro_use]
|
||||
extern crate futures;
|
||||
extern crate tokio_core;
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
|
||||
use futures::Future;
|
||||
use futures::stream::Stream;
|
||||
|
||||
Reference in New Issue
Block a user