qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH] Revert "posix-aio-compat: avoid signal race


From: malc
Subject: Re: [Qemu-devel] Re: [PATCH] Revert "posix-aio-compat: avoid signal race when spawning a thread"
Date: Thu, 8 Oct 2009 06:48:31 +0400 (MSD)

On Thu, 8 Oct 2009, Jamie Lokier wrote:

> malc wrote:
> > >   The  use of sigprocmask() is unspecified in a
> > >   multithreaded process; see pthread_sigmask(3).
> > > 
> > > Does it matter?
> > 
> > One of the patches i've asked you to try today replaced sigprocmask with
> > pthread_sigmask, you've said it did nothing. In any case, strictly
> > speaking, the code is wrong, so yes it does matter in theory.
> 
> It won't matter on a Linux host (they are the same), but
> pthread_sigmask should be used because it's Right(tm) and it could
> make a difference on some other host.

What made you think i'm of a different opinion?

-- 
mailto:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]