Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(181)

Unified Diff: src/pkg/runtime/defs_windows_386.h

Issue 71900043: code review 71900043: runtime: Raise SIGTERM on receipt of CTRL_CLOSE_EVENT o...
Patch Set: diff -r 877a41585fc7 https://code.google.com/p/go Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/runtime/defs_windows.go ('k') | src/pkg/runtime/os_windows.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/defs_windows_386.h
===================================================================
--- a/src/pkg/runtime/defs_windows_386.h
+++ b/src/pkg/runtime/defs_windows_386.h
@@ -15,8 +15,12 @@
THREAD_PRIORITY_HIGHEST = 0x2,
SIGINT = 0x2,
+ SIGTERM = 0xf,
CTRL_C_EVENT = 0x0,
CTRL_BREAK_EVENT = 0x1,
+ CTRL_CLOSE_EVENT = 0x2,
+ CTRL_LOGOFF_EVENT = 0x5,
+ CTRL_SHUTDOWN_EVENT = 0x6,
CONTEXT_CONTROL = 0x10001,
CONTEXT_FULL = 0x10007,
« no previous file with comments | « src/pkg/runtime/defs_windows.go ('k') | src/pkg/runtime/os_windows.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b