--- ChangeLog | 3 +++ ksrc/nucleus/synch.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)
Index: xenomai/ksrc/nucleus/synch.c =================================================================== --- xenomai.orig/ksrc/nucleus/synch.c +++ xenomai/ksrc/nucleus/synch.c @@ -228,7 +228,7 @@ redo: /* Somebody stole us the ownership while we were ready to run, waiting for the CPU: we need to wait again for the resource. */ - if (timeout == XN_INFINITE) + if (mode == XN_ABSOLUTE || timeout == XN_INFINITE) goto redo; timeout = xnthread_timeout(thread); if (timeout > 1) /* Otherwise, it's too late. */ Index: xenomai/ChangeLog =================================================================== --- xenomai.orig/ChangeLog +++ xenomai/ChangeLog @@ -6,6 +6,9 @@ * ksrc/nucleus/{module.c, shadow.c}: Move remove_proc_entry out of nklock. + * ksrc/nucleus/synch.c (xnsynch_sleep_on): Fix timeout restart + if resource was robbed. + 2007-06-02 Philippe Gerum <[EMAIL PROTECTED]> * ksrc/skins/psos+, src/skins/psos+, include/psos+/psos.h: Add
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core