summaryrefslogtreecommitdiff
path: root/src/core/job.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-26 02:13:41 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-26 02:26:31 +0100
commit255baef68a8d9d74cb3b846f93c290225ad162aa (patch)
treea814737c0cd3e63bc643c738438539dc9325e622 /src/core/job.h
parentd420282b28f50720e233ccb1c02547c562195653 (diff)
core: add new "flush" job mode to cancel all other jobs when queuing a new job
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/job.h b/src/core/job.h
index 3f6357a054..c23a38029d 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -84,6 +84,7 @@ enum JobMode {
JOB_REPLACE, /* Replace an existing conflicting job */
JOB_REPLACE_IRREVERSIBLY,/* Like JOB_REPLACE + produce irreversible jobs */
JOB_ISOLATE, /* Start a unit, and stop all others */
+ JOB_FLUSH, /* Flush out all other queued jobs when queing this one */
JOB_IGNORE_DEPENDENCIES, /* Ignore both requirement and ordering dependencies */
JOB_IGNORE_REQUIREMENTS, /* Ignore requirement dependencies */
_JOB_MODE_MAX,