POSIX timers misbehaviour
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Dec 17 09:43:59 UTC 2014
On 17/12/14 09:55, Daniel Krüger wrote:
> I am porting the openPOWERLINK stack (Industrial Ethernet protocol
> implementation) to RTEMS. Because RTEMS includes the POSIX layer, I
> tried to reuse most of the Linux implementation of openPOWERLINK.
> When it came to the timers, I discovered some differences of the POSIX
> timer behaviour in RTEMS in respect to Linux. I don't know what the
> POSIX standard says in that regard.
POSIX is pretty clear in this regard:
http://pubs.opengroup.org/onlinepubs/009695399/functions/timer_create.html
It is a per-process timer, so the current RTEMS implementation is not
conformant with the POSIX requirements. The question is whether this is
a bug or a feature. If we change the behaviour then we may break
existing RTEMS applications. I am in favour of enforcing POSIX strictly.
Can you please open a ticket:
https://devel.rtems.org/newticket
--
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