Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8634F.13342F7C" Date: Wed, 30 Jan 2008 07:47:44 -0700 Message-ID: <51CAD0CE1504444DBE77CBBE51A0135D376802@domain.hid> From: "Steven Seeger" Subject: [Xenomai-help] rt_task_wait_period() & rt_task_set_periodic() List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C8634F.13342F7C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable A while ago there was a discussion regarding rt_task_wait_period() and its overrun handling. I believe it was stated then that the function would always sleep until the next scheduled time on the timeline, but you could see your number of overruns if you wanted to pass a non-null parameter. After reading the documentation for its ETIMEDOUT return value, I wonder if this has changed? It seems like this will return immediately if the time was missed.=20 =20 Also, I am getting a -EAGAIN when calling rt_task_set_periodic() and can't figure out why. Any idea? =20 Thanks, Steven =20 ------_=_NextPart_001_01C8634F.13342F7C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

A while ago there was a discussion regarding rt_task_wait_period() and its overrun handling. I believe it was stated = then that the function would always sleep until the next scheduled time on = the timeline, but you could see your number of overruns if you wanted to = pass a non-null parameter. After reading the documentation for its ETIMEDOUT = return value, I wonder if this has changed? It seems like this will return = immediately if the time was missed.

 

Also, I am getting a –EAGAIN when calling rt_task_set_periodic() and can’t figure out why. Any = idea?

 

Thanks,

Steven

 

------_=_NextPart_001_01C8634F.13342F7C--