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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sat Jun  8 15:58:59 2013 +0200

posix: enable AMOK bit

It is now needed for POSIX signals handling.

---

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

diff --git a/include/nucleus/thread.h b/include/nucleus/thread.h
index 8934e19..e328826 100644
--- a/include/nucleus/thread.h
+++ b/include/nucleus/thread.h
@@ -397,7 +397,7 @@ typedef struct xnhook {
 #define xnthread_inc_rescnt(thread)        do { } while (0)
 #define xnthread_dec_rescnt(thread)        do { } while (0)
 #endif /* !CONFIG_XENO_OPT_PERVASIVE */
-#ifdef CONFIG_XENO_OPT_WATCHDOG
+#if defined(CONFIG_XENO_OPT_WATCHDOG) || defined(CONFIG_XENO_SKIN_POSIX)
 #define xnthread_amok_p(thread)            xnthread_test_info(thread, XNAMOK)
 #define xnthread_clear_amok(thread)        xnthread_clear_info(thread, XNAMOK)
 #else /* !CONFIG_XENO_OPT_WATCHDOG */


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

Reply via email to