CVS log for ports/devel/linuxthreads/files/wraputhread.c
Up to [FreeBSD] / ports / devel / linuxthreads / files
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Mar 21 21:40:24 2007 UTC (4 years, 10 months ago) by tegge
Branches: MAIN
CVS tags: RELEASE_9_0_0, RELEASE_8_2_0, RELEASE_8_1_0, RELEASE_8_0_0, RELEASE_7_4_0, RELEASE_7_3_0, RELEASE_7_2_0, RELEASE_7_1_0, RELEASE_7_0_0, RELEASE_6_EOL, RELEASE_6_4_0, RELEASE_6_3_0, RELEASE_5_EOL, PRE_XORG_7, HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +19 -3 lines
Correct retrieval of stack address and size when getting the current thread attributes for the main thread. Add emulation of native threads (libc_r) method of getting the current thread attributes (pthread_attr_get_np()) and adjust emulation of native threads pthread_attr_getstackaddr() to return bottom of stack instead of top of stack. Correct emulation of native threads pthread_mutexattr_settype() when selecting recursive mutexes. Previously, the argument conversion before calling the linuxthreads version of pthread_mutexattr_setattr() ended up selecting errorcheck mutexes instead of recursive mutexes.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Jul 22 22:20:21 2005 UTC (6 years, 6 months ago) by tegge
Branches: MAIN
CVS tags: RELEASE_6_2_0, RELEASE_6_1_0, RELEASE_6_0_0, RELEASE_5_5_0, RELEASE_4_EOL
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -7 lines
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.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jun 9 03:48:31 2003 UTC (8 years, 8 months ago) by tegge
Branches: MAIN
CVS tags: RELEASE_5_4_0, RELEASE_5_3_0, RELEASE_5_2_1, RELEASE_5_2_0, RELEASE_4_9_0, RELEASE_4_11_0, RELEASE_4_10_0
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1613 -77 lines
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.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jun 14 01:34:18 2001 UTC (10 years, 8 months ago) by tegge
Branches: MAIN
CVS tags: RELEASE_5_1_0, RELEASE_5_0_DP1, RELEASE_5_0_0, RELEASE_4_8_0, RELEASE_4_7_0, RELEASE_4_6_2, RELEASE_4_6_1, RELEASE_4_6_0, RELEASE_4_5_0, RELEASE_4_4_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -1 lines
Update from version 2.1.3 to 2.2.3 of LinuxThreads.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 20 00:34:57 2001 UTC (10 years, 11 months ago) by tegge
Branches: MAIN
CVS tags: RELEASE_4_3_0
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.
