Module: xenomai-rpm Branch: queue/mayday Commit: 56f7e9518b5270e1bf37e386be9debb66ce9bc1e URL: http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=56f7e9518b5270e1bf37e386be9debb66ce9bc1e
Author: Tschaeche IT-Services <[email protected]> Date: Fri May 21 11:26:51 2010 +0200 nucleus: enable tswitch callout for the root thread Signed-off-by: Philippe Gerum <[email protected]> --- 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 [email protected] https://mail.gna.org/listinfo/xenomai-git
