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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Jun 30 14:55:09 2014 +0200

lib/cobalt: fix internal yield in thread trampoline

---

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

diff --git a/lib/cobalt/thread.c b/lib/cobalt/thread.c
index 3a3f779..c46a051 100644
--- a/lib/cobalt/thread.c
+++ b/lib/cobalt/thread.c
@@ -163,7 +163,7 @@ sync_with_creator:
         * scheduling order.
         */
        if (param_ex.sched_priority == parent_prio)
-               __cobalt_sched_yield();
+               __STD(sched_yield());
 
        cobalt_thread_harden();
 


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

Reply via email to