Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigED37D9FC0B1EBD04B33DB0C5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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?
>=20
> 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() ?


--------------enigED37D9FC0B1EBD04B33DB0C5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHfiG/ldnAQVacBcgRAmQnAKCAD1V1Y3P/+vBoVw129QS0KM8RLwCfVyqx
tKRUPMf3RHchyNEuvBI87xU=
=oAPa
-----END PGP SIGNATURE-----

--------------enigED37D9FC0B1EBD04B33DB0C5--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fll7jv$n9v$1>