lkml.org 
[lkml]   [2003]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectQuestion about threads and signals
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




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.267 / U:1.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site