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:
Michal 'vorner' Vaner
2017-01-22 12:27:03 +01:00
parent b9da819153
commit 8abc26df39
3 changed files with 76 additions and 3 deletions
+2
View File
@@ -13,6 +13,8 @@ An implementation of an asynchronous Unix signal handling backed futures.
[dependencies]
tokio-core = "0.1"
futures = "0.1.7"
lazy_static = "0.2"
nix = "0.7"
[target.'cfg(unix)'.dependencies]
tokio-uds = "0.1"