[PATCH 04/12] score: Add _Chain_Insert_ordered_unprotected()

Gedare Bloom gedare at rtems.org
Thu Jun 13 18:46:53 UTC 2013


On Thu, Jun 13, 2013 at 2:41 PM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> On 13/06/13 20:31, Gedare Bloom wrote:
>>
>> 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"
>
>
> The delta chain handling is quite complex.  You have several state
> transitions to keep the interrupt disabled time low.  During the insert
> interrupt service routines can add and remove items.
>
Yes good point. Let's let sleeping dogs lie. ;)

>
> --
> 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