* [Xenomai] polling task and rt_task_sleep()
@ 2013-08-01 16:20 Skander Bahloul
2013-08-05 11:40 ` Gilles Chanteperdrix
0 siblings, 1 reply; 4+ messages in thread
From: Skander Bahloul @ 2013-08-01 16:20 UTC (permalink / raw)
To: xenomai
Dear Xenomai list members,
I'am trying to use xenomai for a polling task.
I'am use rt_task_sleep() and i discover that this function is important to execute the program but it causes latencies.
If i delete this function, the terminal freeze.
Can you help me.
Thank you very much!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] polling task and rt_task_sleep()
2013-08-01 16:20 [Xenomai] polling task and rt_task_sleep() Skander Bahloul
@ 2013-08-05 11:40 ` Gilles Chanteperdrix
2013-08-07 15:22 ` Skander Bahloul
0 siblings, 1 reply; 4+ messages in thread
From: Gilles Chanteperdrix @ 2013-08-05 11:40 UTC (permalink / raw)
To: Skander Bahloul; +Cc: xenomai
On 08/01/2013 06:20 PM, Skander Bahloul wrote:
> Dear Xenomai list members,
>
> I'am trying to use xenomai for a polling task.
>
> I'am use rt_task_sleep() and i discover that this function is
> important to execute the program but it causes latencies.
>
> If i delete this function, the terminal freeze.
Hi,
good! it means xenomai works as expected: your polling task has the
highest priority and prevent anything else from running.
Regards.
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] polling task and rt_task_sleep()
2013-08-05 11:40 ` Gilles Chanteperdrix
@ 2013-08-07 15:22 ` Skander Bahloul
2013-08-07 19:08 ` Gilles Chanteperdrix
0 siblings, 1 reply; 4+ messages in thread
From: Skander Bahloul @ 2013-08-07 15:22 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
Hi,
well, I surprised that it blocked parent process.
Is it really normal?
Thank you for answer.
Best regards,
Le 5 août 2013 à 13:40, Gilles Chanteperdrix a écrit :
> On 08/01/2013 06:20 PM, Skander Bahloul wrote:
>> Dear Xenomai list members,
>>
>> I'am trying to use xenomai for a polling task.
>>
>> I'am use rt_task_sleep() and i discover that this function is
>> important to execute the program but it causes latencies.
>>
>> If i delete this function, the terminal freeze.
>
> Hi,
>
> good! it means xenomai works as expected: your polling task has the
> highest priority and prevent anything else from running.
>
> Regards.
>
> --
> Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] polling task and rt_task_sleep()
2013-08-07 15:22 ` Skander Bahloul
@ 2013-08-07 19:08 ` Gilles Chanteperdrix
0 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2013-08-07 19:08 UTC (permalink / raw)
To: Skander Bahloul; +Cc: xenomai
On 08/07/2013 05:22 PM, Skander Bahloul wrote:
> Hi,
>
> well, I surprised that it blocked parent process.
>
> Is it really normal?
You should read some documentation about the SCHED_FIFO scheduling
policy, yes, the task with the highest priority runs as long as it is
runnable. Whether a task is the parent or child does not matter, only
scheduling policies and priorities matter to the scheduler.
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-07 19:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01 16:20 [Xenomai] polling task and rt_task_sleep() Skander Bahloul
2013-08-05 11:40 ` Gilles Chanteperdrix
2013-08-07 15:22 ` Skander Bahloul
2013-08-07 19:08 ` 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.