diff options
| author | Jan Safranek <jsafrane@redhat.com> | 2013-04-15 14:11:09 +0200 |
|---|---|---|
| committer | Jan Safranek <jsafrane@redhat.com> | 2013-04-16 10:14:20 +0200 |
| commit | ace33f58e62dad9463211f980595270f262848f0 (patch) | |
| tree | 4d9bf898dc6dd97974f0b8b7e1d0121d64550e13 /src/python/setup.py | |
| parent | 1b8ac75de453d41f5cc78695cb7f5cec476cf674 (diff) | |
Add TimerManager.
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.
Diffstat (limited to 'src/python/setup.py')
0 files changed, 0 insertions, 0 deletions
