Review Request 204: Add TimerManager: [1/6] Add TimerManager.
Radek Novacek
reviewboard at gallagherhome.com
Fri Apr 19 14:16:59 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/204/#review268
-----------------------------------------------------------
Ship it!
Ship It!
- Radek Novacek
On April 16, 2013, 12:53 p.m., Jan Safranek wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard-openlmi.rhcloud.com/r/204/
> -----------------------------------------------------------
>
> (Updated April 16, 2013, 12:53 p.m.)
>
>
> Review request for OpenLMI Developers.
>
>
> Repository: openlmi-providers
>
>
> Description
> -------
>
> 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.
>
>
> Diffs
> -----
>
> src/python/openlmi/common/TimerManager.py PRE-CREATION
>
> Diff: http://reviewboard-openlmi.rhcloud.com/r/204/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Jan Safranek
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/openlmi-devel/attachments/20130419/4c399a97/attachment.html>
More information about the openlmi-devel
mailing list