From: Paul Janzen <pcj@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-core] [PATCH] Mask signals in rt_print:printer_loop()
Date: Tue, 27 Mar 2012 22:39:04 -0700 [thread overview]
Message-ID: <oqzkb19tdz.fsf@domain.hid> (raw)
In-Reply-To: <1331579565.394426122@domain.hid> (Doug Brunner's message of "Mon, 12 Mar 2012 12:12:45 -0700 (PDT)")
common/rt_print: Use sigfillset to actually mask all signals for
logging thread. Fixes commit a6dceeb9.
Signed-off-by: Paul Janzen <pcj@domain.hid>
---
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) {
--
1.7.1
next prev parent reply other threads:[~2012-03-28 5:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 19:12 [Xenomai-help] Intermixing native and POSIX skins Doug Brunner
2012-03-12 19:43 ` Philippe Gerum
2012-03-15 16:30 ` Doug Brunner
2012-03-16 18:29 ` Philippe Gerum
2012-03-26 16:14 ` Doug Brunner
2012-03-27 16:26 ` Philippe Gerum
2012-03-27 21:35 ` Doug Brunner
2012-04-02 15:50 ` Philippe Gerum
2012-03-28 5:39 ` Paul Janzen [this message]
2012-03-28 13:35 ` [Xenomai-core] [PATCH] Mask signals in rt_print:printer_loop() Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=oqzkb19tdz.fsf@domain.hid \
--to=pcj@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.