Date: Mon, 2 Feb 2004 17:21:54 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> To: Craig Rodrigues <rodrigc@crodrigues.org> Cc: freebsd-threads@freebsd.org Subject: Re: bin/35622: sigaltstack is missing in libc_r Message-ID: <Pine.GSO.4.10.10402021719070.28093-100000@pcnet5.pcnet.com> In-Reply-To: <200402022150.i12LoHq2052250@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Feb 2004, Craig Rodrigues wrote: > The following reply was made to PR bin/35622; it has been noted by GNATS. > > From: Craig Rodrigues <rodrigc@crodrigues.org> > To: freebsd-gnats-submit@freebsd.org > Cc: michiel.dewilde@rug.ac.be > Subject: Re: bin/35622: sigaltstack is missing in libc_r > Date: Mon, 2 Feb 2004 16:48:14 -0500 > > Hi, > > In FreeBSD-CURRENT, libc_r does not have a symbol > for sigaltstack which overrides the symbol in libc. libc_r was built around the 96 POSIX spec that said that use of sigaltstack in a threaded program was undefined. > However, the new libpthread does have such a symbol. The new 200x POXIC spec allows sigaltstack() so David added it to libpthread. It is mostly for threads bound to kernel scheduleable entities, and use of it otherwise is undefined. Don't tell anyone, but libpthread does allow it even for scope process threads.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10402021719070.28093-100000>