Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2007 15:01:44 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Girish Hilage <girish_hilage@persistent.co.in>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: Co-opting signals
Message-ID:  <Pine.GSO.4.64.0710081123560.29684@sea.ntplx.net>
In-Reply-To: <1191824849.2054.5.camel@ps2408.persistent.co.in>
References:  <1191824849.2054.5.camel@ps2408.persistent.co.in>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Oct 2007, Girish Hilage wrote:

> Hi,
>
>    I heard that, user level pthreads co-opt some signals to get their
> job done.
>    Can anybody please let me know which are these signals?

Not true since 4.x since only libc_r did this.  Since FreeBSD 5.x,
the default thread libraries (libpthread/libkse, and libthr) do
not use signals for their implementation.  Under 5.x and subsequent,
just compile and link your program normally (use -pthread or
-lpthread when linking) and you will get the default thread
library (not libc_r, which has been deprecated in 7.x/current).

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0710081123560.29684>