Skip to contentSkip to conversation

V2.4.4 on blackfin

Xenomai-help Filip Van Rillaer 2 participants 2 messages Jul 25, 2008 – Jul 31, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

<<

rt_event_wait seems not to work properly if one specifies a timeout :
the functioncall returns after the specified of time, but it returns 0, instead of -ETIMEDOUT.

Quoted 1 line
Quoted 1 line

In the mean time I found the bug : ksrc/skins/native/syscall.c:

the last line of the function __rt_event_wait should be

return err;

instead of

return 0;

Best regards,

Filip

#1 lore raw
Quoted 13 lines · Filip Van Rillaer

Hello,

<<

rt_event_wait seems not to work properly if one specifies a timeout :
the functioncall returns after the specified of time, but it returns 0, instead of -ETIMEDOUT.

Quoted 1 line
Quoted 1 line

In the mean time I found the bug : ksrc/skins/native/syscall.c:

Quoted 8 lines

the last line of the function __rt_event_wait should be

return err;

instead of

return 0;

Fixed in the development trunk/, thanks.

PS: please, next time send a patch; it is easier to read and apply, and most importantly, maintainers usually raise the priority of your mail when they see one attached/inlined.

TIA,

Signature · 1 line
Philippe.