[lkml]   [2003]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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?

-- Jamie

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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