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

Author: Paul Janzen <p...@xenomai.sez.to>
Date:   Wed Mar 28 10:34:35 2012 -0700

Mask signals in rt_print:printer_loop()

common/rt_print: Use sigfillset to actually mask all signals for
logging thread.  Fixes commit a6dceeb9.

Signed-off-by: Paul Janzen <p...@xenomai.sez.to>

---

 src/skins/common/rt_print.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/skins/common/rt_print.c b/src/skins/common/rt_print.c
index e1c828a..272a4ba 100644
--- a/src/skins/common/rt_print.c
+++ b/src/skins/common/rt_print.c
@@ -615,7 +615,7 @@ static void *printer_loop(void *arg)
 {
        sigset_t mask;
 
-       sigemptyset(&mask);
+       sigfillset(&mask);
        pthread_sigmask(SIG_BLOCK, &mask, NULL);
 
        while (1) {


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

Reply via email to