mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
20fa307449
Add sys/_pthreadtypes.h to allow compilation on FreeBSD >= 6.0. Initialize signal trampoline variables earlier to avoid race in wrapper around sigaction. Fix known API wrapper bugs. Port compile time options: Add option for using an alternate restart signal instead of SIGUSR2. Add options for adjustment of maximum thread stack size and maximum number of threads. Make all options start with LINUXTHREADS_ Note that complete FreeBSD source matching userland must be installed in /usr/src when compiling this port.
15 lines
732 B
Plaintext
15 lines
732 B
Plaintext
LinuxThreads is an POSIX pthreads implementation using "kernel threads". In
|
|
this FreeBSD port, a kernel thread is started using rfork (whereas in the
|
|
original Linux implementation a kernel thread is started using the Linux clone
|
|
call). This implementaion provides a so-called one-to-one mapping of threads to
|
|
kernel schedulable entities. For more information see about the original
|
|
LinuxThreads implementation see:
|
|
|
|
http://pauillac.inria.fr/~xleroy/linuxthreads/
|
|
|
|
Note that LinuxThreads has been integrated with the GNU C library (glibc) since
|
|
version 2.0, so the above URL points to dated information.
|
|
|
|
The complete FreeBSD source code matching the installed userland
|
|
must be installed in /usr/src before building linuxthreads.
|