Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Book: First draft of Signals Chapter #50

Closed
3 tasks done
killercup opened this issue Jul 30, 2018 · 0 comments
Closed
3 tasks done

Book: First draft of Signals Chapter #50

killercup opened this issue Jul 30, 2018 · 0 comments
Milestone

Comments

@killercup
Copy link
Collaborator

killercup commented Jul 30, 2018

Add a first draft for the signal handling chapter of the CLI book (#45).

  • What are signals
  • Easy crate to deal with Ctrl+C
  • Handling signals with threads and channels?

Here's something to get you started:

Processes like command line applications need to react to signals sent by the operating system.
The most common example is probably Ctrl+C.

To handle these signals in Rust you need to consider how you can receive these signals as well as how you can react to them.

See #27 for a lot of discussion around signals and crates for handling them!

@killercup killercup modified the milestones: Preview 2, RC Jul 30, 2018
@killercup killercup added the book label Aug 2, 2018
killercup added a commit to killercup/cli-wg that referenced this issue Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant