Module: xenomai-head
Branch: master
Commit: 19bfe7c5a7962c62630c69bf22f08c07b3fb4a12
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=19bfe7c5a7962c62630c69bf22f08c07b3fb4a12

Author: Wolfgang Mauerer <wolfgang.maue...@siemens.com>
Date:   Fri Oct  2 10:49:32 2009 +0200

Document -EWOULDBLOCK for rtdm_event_wait

rtdm_event_wait can return -EWOULDBLOCK when a
negative (i.e., non-blocking) timeout has been specified,
but this is not covered in the documentation.

Signed-off-by: Wolfgang Mauerer <wolfgang.maue...@siemens.com>
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
Reported-by: michael.schwertfe...@astrum-it.de

---

 ksrc/skins/rtdm/drvlib.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ksrc/skins/rtdm/drvlib.c b/ksrc/skins/rtdm/drvlib.c
index 69570d0..8177f7d 100644
--- a/ksrc/skins/rtdm/drvlib.c
+++ b/ksrc/skins/rtdm/drvlib.c
@@ -928,6 +928,9 @@ EXPORT_SYMBOL(rtdm_event_wait);
  * - -EPERM @e may be returned if an illegal invocation environment is
  * detected.
  *
+ * - -EWOULDBLOCK is returned if a negative @a timeout (i.e., non-blocking
+ * operation) has been specified.
+ *
  * Environments:
  *
  * This service can be called from:


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to