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

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 1a9b519..0a40e83 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