All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rt_task_wait_period returns an undocumented value
@ 2011-10-21 16:04 Fernando Herrero Carrón
  2011-10-21 16:15 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 11+ messages in thread
From: Fernando Herrero Carrón @ 2011-10-21 16:04 UTC (permalink / raw)
  To: Xenomai-help

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

Dear list,

I am running xenomai-2.6-rc4 on an amd64 linux kernel version 2.6.38.8.

I am setting up a periodic task using

rt_task_set_periodic(NULL, TM_NOW, 11500);

For period values smaller than 11450 I get an EINVAL return value. I've got
one question regarding this, and it's how is this threshold calculated?

However, further down the program, supposing rt_task_set_periodic() failed
with the above result, calling

rt_task_wait_period()

will return EAGAIN, which is not documented in
http://www.xenomai.org/documentation/trunk/html/api/group__task.html#ga1645d3a072ef3cefeed3bcbb27dcf108
.

Best regards,
Fernando

[-- Attachment #2: Type: text/html, Size: 887 bytes --]

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

end of thread, other threads:[~2011-10-21 20:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 16:04 [Xenomai-help] rt_task_wait_period returns an undocumented value Fernando Herrero Carrón
2011-10-21 16:15 ` Gilles Chanteperdrix
2011-10-21 17:37   ` Fernando Herrero Carrón
2011-10-21 17:47     ` Gilles Chanteperdrix
2011-10-21 18:08       ` Fernando Herrero Carrón
2011-10-21 18:47         ` Gilles Chanteperdrix
2011-10-21 19:01           ` Fernando Herrero Carrón
2011-10-21 19:07             ` Gilles Chanteperdrix
2011-10-21 19:15               ` Fernando Herrero Carrón
2011-10-21 20:11                 ` Daniele Nicolodi
2011-10-21 20:27                   ` Fernando Herrero Carrón

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.