V2.4.4 on blackfin
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
Quoted 13 lines · Filip Van Rillaer
Hello,
<<
rt_event_waitseems 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_waitshould bereturn 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.