Beispiel #1
0
 def __init__(self, counter, order, num_threads, iterations,
              results):
     BaseInterruptibleTask.__init__(self)
     self._counter = counter
     self._order = order
     self._num_threads = num_threads
     self._iterations = iterations
     self._results = results
Beispiel #2
0
 def __init__(self):
     BaseInterruptibleTask.__init__(self, 'test-task')
 def __init__(self, main_thread_executor, name=None):
     BaseInterruptibleTask.__init__(self, name)
     self._main_thread_executor = main_thread_executor
Beispiel #4
0
 def __init__(self, wait_first, results, wait_condition, latch):
     BaseInterruptibleTask.__init__(self)
     self._wait_first = wait_first
     self._results = results
     self._wait_condition = wait_condition
     self._latch = latch
Beispiel #5
0
 def __init__(self, results):
     BaseInterruptibleTask.__init__(self)
     self._results = results
Beispiel #6
0
 def __init__(self, name):
     BaseInterruptibleTask.__init__(self, name=name)
Beispiel #7
0
 def __init__(self):
   BaseInterruptibleTask.__init__(self)
Beispiel #8
0
 def __init__(self, executor):
     BaseInterruptibleTask.__init__(self)
     MainThreadCaller.__init__(self, executor)