summaryrefslogtreecommitdiff
path: root/wiki/dev/shutdown-hooks.md
diff options
context:
space:
mode:
authorOwen Jacobson <owen.jacobson@grimoire.ca>2014-10-27 12:14:22 -0400
committerOwen Jacobson <owen.jacobson@grimoire.ca>2014-10-27 12:14:22 -0400
commit9a877d92fe883482153413d265708f547f74fc19 (patch)
tree28a9f91ed06fa4aa0f5bd2b0ed8914207cb09dd5 /wiki/dev/shutdown-hooks.md
parente364987cb7b006131f01ef7ddeded1a20818bca8 (diff)
Typography.
Diffstat (limited to 'wiki/dev/shutdown-hooks.md')
-rw-r--r--wiki/dev/shutdown-hooks.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiki/dev/shutdown-hooks.md b/wiki/dev/shutdown-hooks.md
index 3bb8c4f..62b5d76 100644
--- a/wiki/dev/shutdown-hooks.md
+++ b/wiki/dev/shutdown-hooks.md
@@ -22,6 +22,6 @@ The following beliefs are widespread and incorrect:
4. **Your shutdown hook will run to completion.** Some languages run shutdown hooks even when the original termination request came from, for example, the user logging out. Most environments give programs a finite amount of time to wrap up before forcibly terminating them; your shutdown hook may well be mid-run when this occurs.
-5. **Your shutdown hook will be the only thing running.** In languages that support "daemon" threads, shutdown hooks may start before daemon threads terminate. In languages with concurrent shutdown hooks, other hooks will be in flight at the same time. On POSIX platforms, signals can still arrive during your shutdown hook. (Did you start any child processes? `SIGCHLD` can still arrive.)
+5. **Your shutdown hook will be the only thing running.** In languages that support “daemon” threads, shutdown hooks may start before daemon threads terminate. In languages with concurrent shutdown hooks, other hooks will be in flight at the same time. On POSIX platforms, signals can still arrive during your shutdown hook. (Did you start any child processes? `SIGCHLD` can still arrive.)
Programs that rely on shutdown hooks for correctness should be treated as de-facto incorrect, much like object finalization in garbage-collected languages.