Home | Trees | Indices | Help |
---|
|
|
|||
JobAction | |||
MonitoringWorkerThread | |||
_DictEntry | |||
UpdateDict This serves as the Update Table. |
|||
CallbackHookEntry | |||
JobRegistry_Monitor Job monitoring service thread. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
log = Ganga.Utility.logging.getLogger()
|
|||
config = Ganga.Utility.Config.makeConfig('PollThread', 'backgr
|
|||
THREAD_POOL_SIZE = config ['update_thread_pool_size']
|
|||
Qin = Queue.Queue()
|
|||
ThreadPool = []
|
|||
tpFreeThreads = 0
|
|||
updateDict_ts = SynchronisedObject(UpdateDict())
|
|
Clean shutdown of the thread pool. A failed attempt to stop all the worker threads is followed by a call to the supplied callback which decides if a new attempt is performed or not. Example for a decision callback: def myfail_cb(): resp = raw_input("The cleanup procedures did not complete yet. Do you want to wait more?[y/N]") return resp.lower()=='y' |
|
config
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 25 10:35:15 2012 | http://epydoc.sourceforge.net |