Commit Graph
26 Commits
Author SHA1 Message Date
Alex Crichton b748fa955c Handle a few more errors 2017-01-24 10:06:54 -08:00
Alex Crichton 277fff43f5 Various cleanups:
* Drop nix/lazy_static
* Use previously registered handlers
* Handle some more errors
2017-01-24 10:02:42 -08:00
Michal 'vorner' Vaner a02a38fbae The driver task
Add the driver task, connecting the signal handler wakeups to the
wakeups of of the streams.

It is a prototype-quality code, a lot of cleanups and similar is needed.
2017-01-22 14:48:22 +01:00
Michal 'vorner' Vaner f7167b48a7 Provide the new kind of Signal stream
Which is just a wrapper around the futures::sync::mpsc. The sender is in
a global registry.

The part that connects the wakeups to the senders in the registry
doesn't yet exist.
2017-01-22 12:58:48 +01:00
Michal 'vorner' Vaner 8abc26df39 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.
2017-01-22 12:27:03 +01:00
Michal 'vorner' Vaner b9da819153 Use tokio-core from git
Just for now, as we need some yet unreleased features.
2017-01-22 10:19:38 +01:00
Alex Crichton 10151bfca0 Update docs urls and such 2017-01-12 10:32:16 -08:00
Alex Crichton a3c07eb771 Remove deprecated API usage on Windows 2017-01-12 10:29:22 -08:00
Alex Crichton 18776138ad Remove use of deprecated APIs on Unix 2017-01-12 10:25:51 -08:00
Alex Crichton cf9398ef61 Bump to 0.1.1 0.1.1 2017-01-11 18:56:15 -08:00
Alex Crichton b726610e7f Ignore errors in signal handler
Closes #3
2017-01-11 10:21:01 -08:00
Alex Crichton 338567ca80 Update travis token 2016-11-19 09:15:38 -08:00
Alex Crichton 3181ebfda6 Merge pull request #2 from jugglerchris/patch-1
Trivial typo fix.
2016-11-07 14:25:06 -08:00
Chris Emerson 424be889a4 Trivial typo fix. 2016-11-07 22:04:08 +00:00
Alex Crichton 72283f178a Remove SIGKILL reexport 2016-10-05 13:55:45 -07:00
Alex Crichton 202220034e Add symbolic reexports for common signals
Means you don't have to import libc!

Closes #1
2016-10-05 08:58:06 -07:00
Alex Crichton 0c0c0bb177 Update deps to point to crates.io 0.1.0 2016-09-09 22:04:04 -07:00
Alex Crichton 69ced1b6da Start adding windows support 2016-09-08 17:28:44 -07:00
Alex Crichton 17481a3a54 Track tokio-core master 2016-09-07 22:14:54 -07:00
Alex Crichton 93e7d9759a Fix travis token 2016-09-07 00:14:23 -07:00
Alex Crichton 85d6d43d18 Update travis link 2016-09-07 00:06:14 -07:00
Alex Crichton e74b728ecf Update Cargo metadata 2016-09-07 00:05:45 -07:00
Alex Crichton 9acd70b7e3 Add licenses 2016-09-07 00:04:49 -07:00
Alex Crichton a531721b1c Add a README 2016-09-07 00:04:44 -07:00
Alex Crichton 06153d0f28 Add docs and travis 2016-09-07 00:03:43 -07:00
Alex Crichton 50973e0734 Initial commit 2016-09-06 23:00:17 -07:00