From: Wolfgang Mauerer <w...@linux-kernel.net> 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: -- 1.6.4 _______________________________________________ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core