rtems_message_queue_receive / rtems_event_receive issues

Catalin Demergian demergian at gmail.com
Thu Oct 25 11:51:32 UTC 2018


btw, is there a unit test somewhere for the chain implementation?
otherwise I will think of a small program where I will try to make it fail
with
double insert/erase.

Catalin


On Thu, Oct 25, 2018 at 2:18 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 25/10/2018 13:03, Catalin Demergian wrote:
> > This is really strange. If you use cpsid/cpsie around the append_cnt ++
> > and --, then append_cnt should never be > 1. If this really the case,
> > then this looks like a processor bug.
> > -> No, after I saw that it didn't fix the problem I commented the
> > dis/en, so
> > the value 2 was obtained without the dis/en in the code.
>
> Maybe you could replace the arm_interrupt_disable/enable with the
> cpsid/cpsie (you need support for nesting).
>
> --
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20181025/c35d7857/attachment-0002.html>


More information about the users mailing list