![]() |
ATLAS Offline Software
|
Public Types | |
| typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type | result |
Public Member Functions | |
| __init__ (self, itertask, eoi='__eoi__') | |
| __iter__ (self) | |
| next (self) | |
Static Public Member Functions | |
| work (iterator, master, eoi) | |
Public Attributes | |
| client | |
| master = Pipe() | |
| end_of_input = eoi | |
| process = Process(target=self.work, args=pargs) | |
| bool | started = False |
| next = self._empty | |
Protected Member Functions | |
| _start (self) | |
| _empty (self, *args, **params) | |
Instances of this class process iterators in separate processes.
Definition at line 27 of file MpUtils.py.
|
inherited |
Definition at line 90 of file EDM_MasterSearch.h.
| python.MpUtils.SubProcessIterator.__init__ | ( | self, | |
| itertask, | |||
| eoi = '__eoi__' ) |
Create a new subprocess iterator.
itertask : some iterable task to execute in a subprocess
eoi : an end-of-iteration marker - returned from the subprocess
to signal that iteration is complete.
Definition at line 29 of file MpUtils.py.
| python.MpUtils.SubProcessIterator.__iter__ | ( | self | ) |
Definition at line 53 of file MpUtils.py.
|
protected |
Definition at line 66 of file MpUtils.py.
|
protected |
Definition at line 42 of file MpUtils.py.
| python.MpUtils.SubProcessIterator.next | ( | self | ) |
Definition at line 58 of file MpUtils.py.
|
static |
The actual callable that is executed in the subprocess.
Definition at line 47 of file MpUtils.py.
| python.MpUtils.SubProcessIterator.client |
Definition at line 36 of file MpUtils.py.
| python.MpUtils.SubProcessIterator.end_of_input = eoi |
Definition at line 37 of file MpUtils.py.
| python.MpUtils.SubProcessIterator.master = Pipe() |
Definition at line 36 of file MpUtils.py.
| python.MpUtils.SubProcessIterator.next = self._empty |
Definition at line 63 of file MpUtils.py.
| python.MpUtils.SubProcessIterator.process = Process(target=self.work, args=pargs) |
Definition at line 39 of file MpUtils.py.
| bool python.MpUtils.SubProcessIterator.started = False |
Definition at line 40 of file MpUtils.py.