Commit graph

4 commits

Author SHA1 Message Date
Tor Egge
20fa307449 Check for NO_PIC and NO_PROFILE on FreeBSD >= 6.0.
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.
2005-07-22 22:20:21 +00:00
Tor Egge
f390ff8ee2 Add new experimental option, LINUXTHREADS_WRAP_API, that adds wrapper
functions providing most of the native threads API while avoiding name
clashes by transparently prefixing all function names that directly
provide the linuxthreads API.
2003-06-09 03:48:31 +00:00
Tor Egge
71819868ea Update from version 2.1.3 to 2.2.3 of LinuxThreads. 2001-06-14 01:34:18 +00:00
Tor Egge
ea51d128f0 Initialize attributes for new threads with default values when a NULL
pthread_attr_t is provided as argument to pthread_create.

liblgcc_r_pic.a no longer exists.

Put the liblgcc_r.a version of __get_eh_info() and __register_frame_info()
into the shared linuxthreads library to avoid using the incompatible
libgcc.a version.  Shared libraries that use exceptions still represent a
problem if linked before the linuxthreads library.

Compile liblgcc_r.a before the main linuxthreads library to provide
the object files that contains __get_eh_info() and __register_frame_info().

Add minimal wrappers for native thread library functions used by
5.0-CURRENT libc.  The wrappers try to call corresponding functions
in the linuxthreads library after performing argument conversion.
2001-02-20 00:34:57 +00:00