mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-14 23:50:30 +01:00
os: drop upstart specific SIGSTOP signaling logic
Upstart is long dead, discontinued a decade ago, so there's no
need to keep around a special signaling logic just for it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1791>
(cherry picked from commit 6c24e53a89)
This commit is contained in:
parent
39a67e9e03
commit
10b8cd6481
3 changed files with 0 additions and 9 deletions
|
|
@ -54,7 +54,6 @@ extern _X_EXPORT Bool disableBackingStore;
|
|||
extern _X_EXPORT Bool enableBackingStore;
|
||||
extern _X_EXPORT Bool enableIndirectGLX;
|
||||
extern _X_EXPORT Bool PartialNetwork;
|
||||
extern _X_EXPORT Bool RunFromSigStopParent;
|
||||
|
||||
#ifdef RLIMIT_DATA
|
||||
extern _X_EXPORT int limitDataSpace;
|
||||
|
|
|
|||
|
|
@ -121,8 +121,6 @@ struct ospoll *server_poll;
|
|||
Bool NewOutputPending; /* not yet attempted to write some new output */
|
||||
Bool NoListenAll; /* Don't establish any listening sockets */
|
||||
|
||||
Bool RunFromSigStopParent; /* send SIGSTOP to our own process; Upstart (or
|
||||
equivalent) will send SIGCONT back. */
|
||||
static char dynamic_display[7]; /* display name */
|
||||
Bool PartialNetwork; /* continue even if unable to bind all addrs */
|
||||
#if !defined(WIN32)
|
||||
|
|
@ -205,8 +203,6 @@ NotifyParentProcess(void)
|
|||
kill(ParentProcess, SIGUSR1);
|
||||
}
|
||||
}
|
||||
if (RunFromSigStopParent)
|
||||
raise(SIGSTOP);
|
||||
#ifdef HAVE_SYSTEMD_DAEMON
|
||||
/* If we have been started as a systemd service, tell systemd that
|
||||
we are ready. Otherwise sd_notify() won't do anything. */
|
||||
|
|
|
|||
|
|
@ -580,7 +580,6 @@ UseMsg(void)
|
|||
#endif
|
||||
ErrorF("-dumbSched Disable smart scheduling and threaded input, enable old behavior\n");
|
||||
ErrorF("-schedInterval int Set scheduler interval in msec\n");
|
||||
ErrorF("-sigstop Enable SIGSTOP based startup\n");
|
||||
ErrorF("+extension name Enable extension\n");
|
||||
ErrorF("-extension name Disable extension\n");
|
||||
ListStaticExtensions();
|
||||
|
|
@ -1031,9 +1030,6 @@ ProcessCommandLine(int argc, char *argv[])
|
|||
else
|
||||
UseMsg();
|
||||
}
|
||||
else if (strcmp(argv[i], "-sigstop") == 0) {
|
||||
RunFromSigStopParent = TRUE;
|
||||
}
|
||||
else if (strcmp(argv[i], "+extension") == 0) {
|
||||
if (++i < argc) {
|
||||
if (!EnableDisableExtension(argv[i], TRUE))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue