Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorlegendecas <legendecas@gmail.com>2019-12-16 19:50:21 +0300
committerRich Trott <rtrott@gmail.com>2019-12-18 22:59:52 +0300
commit8b5b61a9a14b364dc702cdaa9f0cb49ad4310e03 (patch)
treea637f4bb0fe26c4cd5309bdf3421548d00cd21f4 /doc
parent24263ff7182e04b68ba8445e000e6a5dc9dd406c (diff)
doc: reference worker threads on signal events
PR-URL: https://github.com/nodejs/node/pull/30990 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/process.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index 217fbb66bc0..212c171cf88 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -429,6 +429,8 @@ Signal events will be emitted when the Node.js process receives a signal. Please
refer to signal(7) for a listing of standard POSIX signal names such as
`'SIGINT'`, `'SIGHUP'`, etc.
+Signals are not available on [`Worker`][] threads.
+
The signal handler will receive the signal's name (`'SIGINT'`,
`'SIGTERM'`, etc.) as the first argument.