diff options
Diffstat (limited to 'cmds/dumpstate/DumpstateUtil.h')
| -rw-r--r-- | cmds/dumpstate/DumpstateUtil.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmds/dumpstate/DumpstateUtil.h b/cmds/dumpstate/DumpstateUtil.h index b7ac25c81e..b099443e32 100644 --- a/cmds/dumpstate/DumpstateUtil.h +++ b/cmds/dumpstate/DumpstateUtil.h @@ -176,10 +176,18 @@ class PropertiesHelper { */ static bool IsUnroot(); + /* + * Whether or not the parallel run is enabled. Setting the system property + * 'dumpstate.parallel_run' to false to disable it, otherwise it returns + * true by default. + */ + static bool IsParallelRun(); + private: static std::string build_type_; static int dry_run_; static int unroot_; + static int parallel_run_; }; /* |