[PATCH 04/12] score: Add _Chain_Insert_ordered_unprotected()
Gedare Bloom
gedare at rtems.org
Thu Jun 13 18:31:34 UTC 2013
Yes. It implements a sorted linked list, decrementing the timeout of
the insert node by the timeout of each node on the chain until it
reaches 0 or the tail. Off the top of my head, I think it would be
possible to use this new Insert function with a comparison hook that
implements the decrement + comparison. Although I don't know if
rewriting the watchdog function is such a good idea, "if it ain't
broke, don't fix it"
On Thu, Jun 13, 2013 at 2:08 PM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> On 13/06/13 17:46, Gedare Bloom wrote:
>>
>> OK. We do use some similar logic in the watchdog implementation. I
>> will consider if it will make sense to rewrite that to use this also.
>> The plugin comparison function will need to compute the time deltas.
>
>
> Which watchdog function is this? Is it the delta chain insert?
>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone : +49 89 189 47 41-16
> Fax : +49 89 189 47 41-09
> E-Mail : sebastian.huber at embedded-brains.de
> PGP : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
More information about the devel
mailing list