Skip to contentSkip to conversation

rt_task_receive DOKU

Xenomai-core Applied Ulrich Schwab 2 participants 2 messages Nov 8, 2005

lore
Share & tools
lore
#1 lore raw
In reply to Ulrich Schwab
Quoted 11 lines · Ulrich Schwab

Hello,

here is a patch, making the doku of rt_task_receive() more complete.

diff -Nru xenomai-2.0-orig/skins/native/task.c xenomai-2.0-devel/skins/native/task.c

skins/native/task.c line 1795

Quoted 8 lines
skins/native/task.c +2 -0
@@ -1788,6 +1788,8 @@
  * and no remote task is currently waiting for sending a message to
  * the caller.
  *
+ * - -ETIMEDOUT is returned if no message was received within the @a timeout.
+ *
  * - -EINTR is returned if rt_task_unblock() has been called for the
  * caller before any message was available.
  *

Applied, thanks.

Signature · 1 line
Philippe.
#0 lore raw

Hello,

here is a patch, making the doku of rt_task_receive() more complete.

diff -Nru xenomai-2.0-orig/skins/native/task.c
xenomai-2.0-devel/skins/native/task.c

skins/native/task.c +2 -0
@@ -1788,6 +1788,8 @@
  * and no remote task is currently waiting for sending a message to
  * the caller.
  *
+ * - -ETIMEDOUT is returned if no message was received within the @a timeout.
+ *
  * - -EINTR is returned if rt_task_unblock() has been called for the
  * caller before any message was available.
  *
Signature · 9 lines
====================================================
  inmess GmbH
  Frankfurter Str. 74
  D - 64521 Gross-Gerau
  Phone: +49 6152 97790
  Fax  : +49 6152 977920
  mail : [email protected]
  web:   www.inmess.de
====================================================