Daniela Soares de Almeida schrieb:
> Gabor,
>
> Thank you very much for your help.
> I got initiate two periodic tasks using a comand passed trough a fifo (from
> a linux task) but it's happening something strange. When i write to the
> fifo in my linux task the return value is negative (like the task couldn't
> have wrote correctly to the fifo) but when i test in my rt-linux module if
> the commands were received they are there (with the right values!) the same
> occurs when i test if my peridic task was initiliazed (in rt module) the
> return vale is negative but the tasks are initialized. The program seems
> works well but i'd like to understand better how rt-linux works so you or
> somebody else has some idea why this occurs?
>
Its difficult to give help on this without having a look on the source.
You should add some of the lines which are writing/ reading to/from the fifos
Vasili
>
> Thanks,
>
>
>Daniela.
>
> At 12:17 PM 09/06/00 +0200, you wrote:
> >
> >> I'd like to know if it's possible to change the period of a periodic task
> >> running rt_make_periodic (or pthread_make_periodic_np) more than one time
> >> in the same module. I mean: each time my linux program write to a fifo a
> >
> >Yes, I do this.
> >Several times I call pthread_make_periodic_np() in order to specify
> >when the task have to return from the following rt_task_delay().
> >
> >> handler runs in my rt-module with rt_make_periodic (or
> >> pthread_make_periodic_np) using period values passed through the fifo
> >> (something like frank_app running START_TASK many times, each time with a
> >> "msg.period" different)
> >
> >Regards
> >
> >Gabor
> >-- [rtl] ---
> >To unsubscribe:
> >echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> >echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> >---
> >For more information on Real-Time Linux see:
> >http://www.rtlinux.org/rtlinux/
> >
> >
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
--
--------------------------------------------------------------------------
SensoLogic GmbH voice: +49 40 529567-40
Dipl. Ing. technische Informatik
Vasili Goutas fax: +49 40 529567-99
- Software Developer - internet: www.sensologic.de
Hummelsb�tteler Steindamm 78a
22851 Norderstedt, Germany Software + Sensor Systems
e-mail: [EMAIL PROTECTED]
internet: http://www.sensologic.de/
--------------------------------------------------------------------------
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/