All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Application broken 2.3.4 ---> 2.4.0
@ 2007-12-11 11:38 Ignacio García Pérez
  2007-12-11 12:04 ` Ignacio García Pérez
  0 siblings, 1 reply; 11+ messages in thread
From: Ignacio García Pérez @ 2007-12-11 11:38 UTC (permalink / raw)
  To: xenomai

Hi,

I've compiled a previously 100% working application under the new 2.4.0 
release and found the following issues:


1- rt_task_set_periodic does not work sometimes?

In this application I have a periodic task (250ms period) which is used 
to blink some lights. The blinking is occasionally resynchronized to 
some external event, and this is what I do:

In the periodic task:

blink_count = 0;
rt_task_set_periodic();
for (;;) {
    whatever();
    blink_count = (blink_count + 1) & 3;
    rt_task_wait_period();
}

Some somewhere else, when I want to synchronize the blinking:

    blink_count = 0;
    rt_task_set_periodic();

This has worked perfectly until version 2.4.0. It seems that further 
calls to rt_task_set_periodic (from a different task) break the 
periodicity (the periodic task enters rt_task_wait_period() and never 
leaves again).

Any clues?



2- ENOBUFS error in rt_pipe_read upon userland close of the pipe.

This is weird and I still have to investigate it further. When the 
userland program closes the pipe, the RT kernel module gets a ENOBUFS 
error from rt_pipe_read.

Any clues?



Thanks.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-12-14 19:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-11 11:38 [Xenomai-help] Application broken 2.3.4 ---> 2.4.0 Ignacio García Pérez
2007-12-11 12:04 ` Ignacio García Pérez
2007-12-11 12:16   ` Jan Kiszka
2007-12-11 12:58     ` Ignacio García Pérez
2007-12-11 13:16     ` Ignacio García Pérez
2007-12-11 13:41       ` Gilles Chanteperdrix
2007-12-11 15:17         ` Ignacio García Pérez
2007-12-11 16:41           ` Gilles Chanteperdrix
     [not found]             ` <47624674.5070107@domain.hid>
2007-12-14  9:46               ` Gilles Chanteperdrix
2007-12-14 17:06                 ` Ignacio García Pérez
2007-12-14 19:01                   ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.