Date: Fri, 04 Jan 2008 13:08:30 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-threads@freebsd.org Subject: Re: Threads and signals Message-ID: <fll7jv$n9v$1@ger.gmane.org> In-Reply-To: <20080104115927.GJ76698@elvis.mu.org> References: <fljin9$crb$1@ger.gmane.org> <20080104011821.GD76698@elvis.mu.org> <9bbcef730801040325y197aa7f6s134436dcc79d8aeb@mail.gmail.com> <20080104115927.GJ76698@elvis.mu.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Alfred Perlstein wrote: > * Ivan Voras <ivoras@freebsd.org> [080104 03:23] wrote: >> 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? > > Certainly. Hmm: :/usr/include> man defer_signals No manual entry for defer_signals :/usr/include> grep -r defer_signals * -nothing found Where is defer_signals() ? [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHfiG/ldnAQVacBcgRAmQnAKCAD1V1Y3P/+vBoVw129QS0KM8RLwCfVyqx tKRUPMf3RHchyNEuvBI87xU= =oAPa -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fll7jv$n9v$1>
