Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1580,6 +1580,29 @@ UV_EXTERN int uv_fs_poll_stop(uv_fs_poll_t* handle); | |
* | ||
* TODO(bnoordhuis) As of 2012-08-10 only the default event loop supports | ||
* signals. That will be fixed. | ||
* | ||
* Some signal support is available on Windows: | ||
* | ||
* SIGINT is normally delivered when the user presses CTRL+C. However, like | ||
* on Unix, it is not generated when terminal raw mode is enabled. | ||
* | ||
* SIGBREAK is delivered when the user pressed CTRL+BREAK. | ||
* | ||
* SIGHUP is generated when the user closes the console window. When SIGHUP | ||
* appears the program is given approximately 10 seconds to perform cleanup. | ||
This comment has been minimized.
Sorry, something went wrong. |
||
* After that Windows will unconditionally terminate it. | ||
* | ||
* SIGWINCH is raised whenever libuv detects that the console has been | ||
* resized. SIGWINCH is emulated by libuv when the program uses an uv_tty_t | ||
* handle to write to the console. SIGWINCH may not always be delivered in a | ||
* timely manner; libuv will only detect size changes when the cursor is | ||
* being moved. | ||
* | ||
* Watchers for other signals can be successfully created, but these signals | ||
* are never generated. Note that calls to to raise() or abort() to | ||
This comment has been minimized.
Sorry, something went wrong.
bnoordhuis
Contributor
|
||
* programmatically raise a signal is not detected by libuv; these will not | ||
* trigger a signal watcher. These signals are: SIGILL, SIGABRT, SIGFPE, | ||
* SIGSEGV, SIGTERM and SIGKILL. | ||
*/ | ||
struct uv_signal_s { | ||
UV_HANDLE_FIELDS | ||
|
2 comments
on commit 36a1eaf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DrPizza @bnoordhuis (and @igorzi if you're still interested)
Does this sound reasonable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the typos, yes. :-)
s/When SIGHUP appears/ On SIGHUP/ ?