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

Author: Tschaeche IT-Services <servi...@tschaeche.com>
Date:   Fri May 21 11:26:51 2010 +0200

nucleus: enable tswitch callout for the root thread

Signed-off-by: Philippe Gerum <r...@xenomai.org>

---

 include/nucleus/pod.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/nucleus/pod.h b/include/nucleus/pod.h
index 8831fb5..bab9f07 100644
--- a/include/nucleus/pod.h
+++ b/include/nucleus/pod.h
@@ -298,7 +298,7 @@ void xnpod_fire_callouts(xnqueue_t *hookq,
 static inline void xnpod_run_hooks(struct xnqueue *q,
                                   struct xnthread *thread, const char *type)
 {
-       if (!emptyq_p(q) && !xnthread_test_state(thread, XNROOT)) {
+       if (!emptyq_p(q)) {
                trace_mark(xn_nucleus, thread_callout,
                           "thread %p thread_name %s hook %s",
                           thread, xnthread_name(thread), type);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to