Co-opting signals

Daniel Eischen deischen at
Mon Oct 8 12:01:47 PDT 2007

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).


More information about the freebsd-threads mailing list