Package invocations :: Package cu0 :: Module DataBuilder :: Class ThreadCU
[hide private]

Class ThreadCU

source code


Instance Methods [hide private]
 
runThreads(self, _cuRuns, resultQueue)
Run the CU threads.
source code
dict
run(self, cuList)
Thread the CUs.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  numprocessors = 2
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

runThreads(self, _cuRuns, resultQueue)

source code 

Run the CU threads.

Parameters:
  • procDates (list) - The dates to run in parallel.
  • resultQueue (Queue object) - The results queue.

run(self, cuList)

source code 

Thread the CUs.

Parameters:
  • cuList (list) - The CUs to run in parallel.
Returns: dict
Dictionary containing results of the CU runs.