Module: xenomai-forge
Branch: next
Commit: 454ae39d21160d56fddfda2efb9842b8c9ab5860
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=454ae39d21160d56fddfda2efb9842b8c9ab5860

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Dec 18 12:09:14 2013 +0100

cobalt/shadow: force runaway thread out of primary mode upon signal

---

 kernel/cobalt/shadow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cobalt/shadow.c b/kernel/cobalt/shadow.c
index b0e302e..f3afdb0 100644
--- a/kernel/cobalt/shadow.c
+++ b/kernel/cobalt/shadow.c
@@ -2468,7 +2468,7 @@ static int handle_sigwake_event(struct task_struct *p)
        if (p->state & (TASK_INTERRUPTIBLE|TASK_UNINTERRUPTIBLE))
                set_task_state(p, p->state | TASK_NOWAKEUP);
 
-       force_wakeup(thread);
+       __xnshadow_kick(thread);
 
        xnsched_run();
 


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

Reply via email to