Messages in this thread | | | Date | Tue, 28 Jul 2009 11:13:16 +0200 | Subject | Re: perf_counters issue with self-sampling threads | From | stephane eranian <> |
| |
Andi,
On Tue, Jul 28, 2009 at 10:56 AM, Andi Kleen<andi@firstfloor.org> wrote: > On Tue, Jul 28, 2009 at 10:51:04AM +0200, stephane eranian wrote: >> [Reposting the message because of stupid MIME-encoding error on my part] >> Andi, >> >> Looks like SIGPROF is calling _group_send_sig_info(), so I >> think it is subject to the same problem. > > So sounds like a whole class of signals can't be POSIX compliant. >
Well, the problem is that I don't where to find the POSIX spec that defines signal types and how they should be handled in multi-threaded programs. That would be a good starting point.
> Likely others will run into the same problem. > > Perhaps should define a new sigaction flag for this to make > it all explicit. > That's probably a clean way of doing this.
| |