From: Jamie Lokier <jamie@shareable.org>
To: linux-kernel@vger.kernel.org
Cc: Ingo Molnar <mingo@elte.hu>, Ulrich Drepper <drepper@redhat.com>
Subject: Question about threads and signals
Date: Sat, 18 Jan 2003 03:24:50 +0000 [thread overview]
Message-ID: <20030118032450.GA18282@bjl1.asuk.net> (raw)
Dear POSIX thread experts (i.e. Ingo and Ulrich),
I have a teensy question. Using the new Linux 2.5 threads + glibc/NPTL:
1. If a signal is delivered to a thread, is it masked for the duration of
the handler in (a) just that thread or (b) all threads?
In other words, if I have 3 threads and SIGIO is not blocked in any
of them, is it possible for my SIGIO handler to be called up to 3
times concurrently? Or is the blocked mask somehow shared?
Is the same thing true of SIGCHLD? SIGSEGV?
2. Is this true of POSIX threads in general, or just Linux?
Thanks,
-- Jamie
next reply other threads:[~2003-01-18 3:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-18 3:24 Jamie Lokier [this message]
2003-01-18 3:51 ` Question about threads and signals Ulrich Drepper
2003-01-18 4:49 ` Jamie Lokier
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=20030118032450.GA18282@bjl1.asuk.net \
--to=jamie@shareable.org \
--cc=drepper@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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.