Module: xenomai-2.6
Branch: master
Commit: 589882956280d5cb4fdc181a5fcd5ae1188ab6ed
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=589882956280d5cb4fdc181a5fcd5ae1188ab6ed

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue May 20 14:39:57 2014 +0200

nucleus/thread: fix leakage of XNKICKED status

---

 ksrc/nucleus/pod.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ksrc/nucleus/pod.c b/ksrc/nucleus/pod.c
index 0a2ee19..22fa91d 100644
--- a/ksrc/nucleus/pod.c
+++ b/ksrc/nucleus/pod.c
@@ -1391,7 +1391,8 @@ void xnpod_suspend_thread(xnthread_t *thread, xnflags_t 
mask,
                }
 #endif /* CONFIG_XENO_OPT_PERVASIVE */
 
-               xnthread_clear_info(thread, XNRMID | XNTIMEO | XNBREAK | 
XNWAKEN | XNROBBED);
+               xnthread_clear_info(thread, XNRMID | XNTIMEO | XNBREAK | \
+                                   XNWAKEN | XNROBBED | XNKICKED);
        }
 
        /* Don't start the timer for a thread indefinitely delayed by


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to