Date: Fri, 4 Jan 2008 12:25:37 +0100 From: "Ivan Voras" <ivoras@freebsd.org> To: "Alfred Perlstein" <alfred@freebsd.org> Cc: freebsd-threads@freebsd.org Subject: Re: Threads and signals Message-ID: <9bbcef730801040325y197aa7f6s134436dcc79d8aeb@mail.gmail.com> In-Reply-To: <20080104011821.GD76698@elvis.mu.org> References: <fljin9$crb$1@ger.gmane.org> <20080104011821.GD76698@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/01/2008, Alfred Perlstein <alfred@freebsd.org> wrote: > You need to block/unblock signals or use sigwait. > > So basically your code will look something like: > defer_signals(); Interesting approach - should I also use it to ensure only one of the threads gets the signal?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9bbcef730801040325y197aa7f6s134436dcc79d8aeb>