Skip to content

docs: document additional Windows signals (2.8)#3094

Open
lunadogbot wants to merge 1 commit intodenoland:mainfrom
lunadogbot:docs/2.8-windows-signals
Open

docs: document additional Windows signals (2.8)#3094
lunadogbot wants to merge 1 commit intodenoland:mainfrom
lunadogbot:docs/2.8-windows-signals

Conversation

@lunadogbot
Copy link
Copy Markdown

Summary

Documents the Windows signal-set expansion in Deno 2.8 (denoland/deno#32689).

  • Updates the leading admonition in examples/tutorials/os_signals.md — Windows now also supports SIGTERM and SIGQUIT for addSignalListener.
  • Adds a new "Windows support" section with two tables:
    • Deno.addSignalListenerSIGINT, SIGBREAK, SIGTERM, SIGQUIT.
    • Deno.kill — additionally accepts SIGKILL, SIGABRT, and signal 0 for health checks (all map to TerminateProcess).
  • Notes that SIGKILL / SIGABRT are deliberately not registerable as listeners (matches Unix).

Test plan

  • deno task serve — tutorial renders, the new section's table aligns.

The OS signals tutorial previously only mentioned SIGINT and SIGBREAK
on Windows. Updates the leading note and adds a new "Windows support"
section listing the full sets supported by addSignalListener and
Deno.kill as of Deno 2.8 (SIGTERM, SIGQUIT, SIGKILL, SIGABRT, signal
0). Notes that SIGKILL / SIGABRT cannot be registered as listeners.

Refs denoland/deno#32689
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

Successfully merging this pull request may close these issues.

1 participant