Flag to indicate number of concurrent threads, possibly per worker"
Definition at line 46 of file ConcurrencyFlags.py.
◆ _do_action()
def python.ConcurrencyFlags.NumThreads._do_action |
( |
|
self | ) |
|
|
private |
Definition at line 53 of file ConcurrencyFlags.py.
57 from AthenaCommon.Logging
import log
58 log.fatal(
"GaudiHive not in release - can't use --threads parameter")
60 from AthenaCommon
import ExitCodes
61 sys.exit(ExitCodes.IMPORT_ERROR)
63 if (self.get_Value() < 0):
64 from AthenaCommon.Logging
import log
65 log.fatal(
"Number of threads [%s] cannot be negative",self.get_Value())
67 from AthenaCommon
import ExitCodes
68 sys.exit(ExitCodes.CONFIGURATION_ERROR)
◆ allowedTypes
list python.ConcurrencyFlags.NumThreads.allowedTypes = ['int'] |
|
static |
◆ statusOn
bool python.ConcurrencyFlags.NumThreads.statusOn = True |
|
static |
◆ StoredValue
int python.ConcurrencyFlags.NumThreads.StoredValue = 0 |
|
static |
The documentation for this class was generated from the following file: