summaryrefslogtreecommitdiff
path: root/include/opaque.h
diff options
context:
space:
mode:
authorVignatti Tiago (Nokia-MS/Helsinki) <tiago.vignatti@nokia.com>2010-08-30 21:24:30 +0300
committerKeith Packard <keithp@keithp.com>2010-09-10 11:54:14 -0700
commit5b680f2c23fb3d35c721647d0334f63297589371 (patch)
tree5d591bef70d27876c13513f929638b6f20d97532 /include/opaque.h
parentca0d578d29f37b61e62556fff59732741885625b (diff)
os: add -sigstop option for Upstart (or equivalent) startup
This is very similar to the RunFromSmartParent (implicit) option, except we do not send the signal to our parent process, but our own process instead, and that signal is SIGSTOP, not SIGUSR1. Upstart or a similar equivalent program will detect this, realize that we are ready to accept clients now, send us SIGCONT and move our job status from SPAWNED to RUNNING. Signed-off-by: Oliver McFadden <oliver.mcfadden@nokia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/opaque.h')
-rw-r--r--include/opaque.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opaque.h b/include/opaque.h
index b3c7c70d6..dfe440cdc 100644
--- a/include/opaque.h
+++ b/include/opaque.h
@@ -55,6 +55,7 @@ extern _X_EXPORT int defaultBackingStore;
extern _X_EXPORT Bool disableBackingStore;
extern _X_EXPORT Bool enableBackingStore;
extern _X_EXPORT Bool PartialNetwork;
+extern _X_EXPORT Bool RunFromSigStopParent;
#ifndef NOLOGOHACK
extern _X_EXPORT int logoScreenSaver;
#endif