summaryrefslogtreecommitdiffstats
path: root/src/python/openlmi/common/TimerManager.py
Commit message (Collapse)AuthorAgeFilesLines
* renamed openlmi namespace to lmiMichal Minar2013-07-041-421/+0
| | | | | To comply with lmi shell, which is placed in *lmi* package, and to make our imports shorter, we are renaming *openlmi* namespace to *lmi*.
* Add method to stop the running thread to all Managers.Jan Safranek2013-05-161-4/+25
| | | | | | We should cleanly shut down all threads when the provider is unloaded, just to be nice to CIMOMs.
* Use TimerManager where appropriate.Jan Safranek2013-04-161-1/+1
|
* Add TimerManager.Jan Safranek2013-04-161-0/+400
Standard Python threading.Timer starts separate thread for each timer. That has two unpleseant consequences: - We end up with lot of sleeping threads. - If we want to use logging in thread callbacks, we must register the thread at CIMOM using AttachThread (=tedious). So let's create TimerManager - Uses only on thread. - It is possible to log stuff in timer callbacks.