aboutsummaryrefslogtreecommitdiff
path: root/devel/linuxthreads/files
Commit message (Collapse)AuthorAgeFilesLines
* Stop providing reentrant functions already present in libc on newer FreeBSDTor Egge2006-05-283-0/+15
| | | | | | | versions. Notes: svn path=/head/; revision=163745
* Backport 2001-09-11 fix from newer linuxthreads versions makingTor Egge2006-05-281-0/+66
| | | | | | | | | | the communication over the pthread manager pipe a little more robust by retrying after EINTR failures. Without this fix, linuxthreads based binaries that run fine on FreeBSD 4 starts crashing in mysterious ways on FreeBSD 6. Notes: svn path=/head/; revision=163744
* Backport 2002-03-22 fix from newer linuxthreads versions definingTor Egge2006-05-281-0/+21
| | | | | | | | MEMORY_BARRIER() as a asm op which clobbers memory to avoid unintended reordering by the compiler. Notes: svn path=/head/; revision=163743
* Avoid using variable after end of semantic life time.Tor Egge2006-01-241-2/+2
| | | | Notes: svn path=/head/; revision=154357
* Backport 2002-04-24 fix from newer linuxthreads versions to avoid hangsTor Egge2006-01-241-0/+59
| | | | | | | or busy wait loop due to race between timeout and pthread_cond_signal. Notes: svn path=/head/; revision=154302
* Fix timeout/cond signal race causing extra restart signal to be generatedTor Egge2006-01-241-46/+109
| | | | | | | but not consumed. Notes: svn path=/head/; revision=154300
* Check for NO_PIC and NO_PROFILE on FreeBSD >= 6.0.Tor Egge2005-07-224-12/+135
| | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=139916
* Align stack address for new threads.Tor Egge2004-11-221-0/+1
| | | | Notes: svn path=/head/; revision=122164
* Stop wrapping gethost* functions on 5.2-CURRENT.Tor Egge2004-03-212-1/+15
| | | | Notes: svn path=/head/; revision=104859
* Add option to ignore posix priority scheduling.Tor Egge2004-02-277-2/+535
| | | | | | | | Add threadsafe versions of some libc functions on FreeBSD 4.x. Register liblgcc_r_pic.a as installed for FreeBSD 5.x. Notes: svn path=/head/; revision=102330
* Fix typos in previous commit causing the previous change to effectivelyTor Egge2003-07-141-1/+2
| | | | | | | be a noop. Notes: svn path=/head/; revision=84877
* Restore gethostbyaddr_r wrapper and remove getpw{nam,uid}_r wrappers forTor Egge2003-07-143-5/+56
| | | | | | | | | | | | | | | | newer versions of FreeBSD 5.X. Drop use of deprecated AINC variable. Reenable use of ld(1) to restore the LINUXTHREADS_WRAP_API option. Rename __thread to __xthread in prototypes to avoid conflict with new gcc keyword. Bump port revision. Notes: svn path=/head/; revision=84875
* Add new experimental option, LINUXTHREADS_WRAP_API, that adds wrapperTor Egge2003-06-094-52/+1748
| | | | | | | | | functions providing most of the native threads API while avoiding name clashes by transparently prefixing all function names that directly provide the linuxthreads API. Notes: svn path=/head/; revision=82560
* Adjust to changed compilation environment (Makefiles setup) in 5.1-CURRENT.Tor Egge2003-06-093-6/+8
| | | | | | | | Link with liblgcc_r when creating linuxthreads versions of shared libraries. Notes: svn path=/head/; revision=82555
* Add _spinunlock() to keep up with libc change in 5.0-CURRENT.Tor Egge2003-03-271-0/+6
| | | | Notes: svn path=/head/; revision=77504
* Make detection of unsafe calls to exit() optional and not default.Tor Egge2003-02-252-6/+45
| | | | | | | Reviewed by: mbr Notes: svn path=/head/; revision=76432
* Make this buildable again on CURRENT.Martin Blapp2003-02-221-0/+9
| | | | | | | | | | Rev. 1.16 of src/sys/sys/msg.h broke the port three weeks ago. Reviewed by: tor Notes: svn path=/head/; revision=76155
* Fix build failure on 5.0-CURRENT by including necessary headers.Tor Egge2002-11-191-1/+18
| | | | Notes: svn path=/head/; revision=70499
* Don't assume that pthread_key_t is signed, thus plugging a memory leak.Tor Egge2002-09-061-5/+5
| | | | Notes: svn path=/head/; revision=65731
* Let main thread do an exit(1) instead of an exit(0) on unclean programTor Egge2002-09-061-4/+8
| | | | | | | termination (multiple active threads). Notes: svn path=/head/; revision=65730
* Register PIC archives when INSTALL_PIC_ARCHIVE has been defined.Tor Egge2002-06-181-1/+5
| | | | | | | | | | Defining INSTALL_LIBLTHREAD_PIC_ARCHIVE causes installation and registration of PIC archive for liblthread, which can be used to generate a shared liblthread library for a different gcc installation. Bump port revision. Notes: svn path=/head/; revision=61524
* Build linuxthreads version of libstdc++ and libsupc++ under 5.0-CURRENT.Tor Egge2002-06-085-13/+73
| | | | | | | | | | | | | Don't misuse DESTDIR when building linuxthreads version of libgcc. Fix varargs warning under 5.0-CURRENT. Don't try to register profiled libraries when NOPROFILE has been specified. Don't try to register shared libraries when NOPIC has been specified. Bump port revision. PR: 38876 Notes: svn path=/head/; revision=60883
* Remove #pragma weak usage.Tor Egge2002-06-083-23/+40
| | | | Notes: svn path=/head/; revision=60877
* Track changes in -current (remove register keyword, ansify).Tor Egge2002-06-081-115/+115
| | | | Notes: svn path=/head/; revision=60876
* Fix malformed preprocessor directive.Tor Egge2002-06-081-1/+1
| | | | Notes: svn path=/head/; revision=60875
* Fix hang caused by a thread calling exit():Tor Egge2002-04-221-20/+74
| | | | | | | | | | | - Block cancel signal while creating new thread to avoid losing the signal. - Terminate the process with _exit(1) if it's unsafe to continue calling atexit functions and destructors. Notes: svn path=/head/; revision=57988
* Document that FreeBSD source code is needed to build linuxthreads port.Tor Egge2002-03-101-0/+4
| | | | | | | | | Add sanity check for presence of needed FreeBSD source code. Unbreak compilation on 5.0-CURRENT, DEFS.h is no longer available. Bump port revision. Notes: svn path=/head/; revision=55797
* Handle internal race that caused pthread_cond_timedwait() to blockTor Egge2001-09-131-0/+9
| | | | | | | waiting for a signal that wasn't sent. Notes: svn path=/head/; revision=47806
* Add an optional experimental patch that reduce the number of contextTor Egge2001-09-091-0/+306
| | | | | | | | | | switches on UP systems when the thread waiting on a condition has a higher priority than the thread signalling the condition. Bump port revision. Notes: svn path=/head/; revision=47555
* Set frame pointer to 0 before calling function in child process to indicateTor Egge2001-09-091-0/+1
| | | | | | | that the stack frame chain stops here. Notes: svn path=/head/; revision=47553
* Use libc version of _flockfile() and _funlockfile() on 5.0-CURRENT.Tor Egge2001-09-091-0/+10
| | | | Notes: svn path=/head/; revision=47552
* Backout library major number bump. It wasn't needed. Additionally,Tor Egge2001-07-011-2/+2
| | | | | | | | ldconfig -r didn't list the library, making it impossible for other ports to depend on the linuxthreads port. Notes: svn path=/head/; revision=44611
* Update from version 2.1.3 to 2.2.3 of LinuxThreads.Tor Egge2001-06-146-429/+2390
| | | | Notes: svn path=/head/; revision=43965
* Calling the libc .cerror from outside libc doesn't work when libcTor Egge2001-02-261-2/+15
| | | | | | | | | is a shared library. Use a copy of .cerror to avoid this problem. PR: 24845 Notes: svn path=/head/; revision=38796
* Use __error() from liblthread instead of the libc version.Tor Egge2001-02-262-21/+48
| | | | Notes: svn path=/head/; revision=38795
* Reference _flockfile to ensure that the linuxthreads version is used.Tor Egge2001-02-251-18/+21
| | | | Notes: svn path=/head/; revision=38691
* Initialize attributes for new threads with default values when a NULLTor Egge2001-02-203-53/+269
| | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=38495
* Use the correct pthread.h when compiling liblgcc_r. Allow thread stacksJason Evans2000-11-062-32/+89
| | | | | | | | | | larger than 16kB. Make sure to call global destructors during shutdown. PR: ports/22429 Submitted by: tegge Notes: svn path=/head/; revision=34854
* Remove call to deprecated function, dllockinit().Jason Evans2000-07-121-8/+0
| | | | Notes: svn path=/head/; revision=30532
* Fix a mistake in the directions for creating symlinks. Add instructions forJason Evans2000-07-121-35/+23
| | | | | | | | creating a gcc specs file (prompted by Dima Ruben). Remove obsolete information and update various tidbits. Notes: svn path=/head/; revision=30502
* Rather than copying the entirety of src/gnu/lib/libgcc/Makefile, .include itJason Evans2000-07-121-161/+6
| | | | | | | | | and override variables as necessary. This vastly shortens this file, makes tracking toolchain changes more automatic, and makes the linuxthreads port build on both -stable and -current. Notes: svn path=/head/; revision=30500
* Update from version 2.1.2 to 2.1.3 of LinuxThreads.Jason Evans2000-05-244-335/+320
| | | | Notes: svn path=/head/; revision=28720
* Back out changes to lock functions passed to dllockinit().Jason Evans2000-01-292-147/+97
| | | | | | | Don't compile the lockfile.c that comes with LinuxThreads. Notes: svn path=/head/; revision=25194
* Don't use the pthreads rwlock implementation for dllockinit(), since itJason Evans2000-01-253-123/+132
| | | | | | | | | | causes infinite recursion while trying to initialize the internal library state. Instead, use a simple spinlock-based rwlock implementation. Make minor cancellation cleanups. Notes: svn path=/head/; revision=25076
* Clean up the port considerably, and fix several serious bugs. There areJason Evans2000-01-0410-826/+1030
| | | | | | | | | still some problems, at least with signal handling and locking on SMP. Submitted by: dick Notes: svn path=/head/; revision=24399
* Add #define _KERNEL around #include of <sys/errno.h> - this is to avoidPeter Wemm1999-12-291-0/+2
| | | | | | | the C-style externs in this assembler file. (!) Notes: svn path=/head/; revision=24219
* Make __pthread_attr_init() pthread_attr_init().Jason Evans1999-12-281-80/+86
| | | | | | | Submitted by: "Russell L. Carter" <rcarter@pinyon.org> Notes: svn path=/head/; revision=24208
* Update to the most recent release of LinuxThreads, glibc-linuxthreads-2.1.2,Jason Evans1999-12-245-1162/+1352
| | | | | | | | | | | | | | | which is rather tightly coupled with GNU libc, unlike the older version of this port. LinuxThreads has added many features since it was integrated with GNU libc, which means that a number of interfaces that were borrowed from libc_r are no longer needed. This updated port required a lot of reworking of the port, so there are likely to be new bugs. Notes: svn path=/head/; revision=23948
* New documentation from Richard and Russell.Julian Elischer1999-12-041-14/+66
| | | | | | | | | Change Maintainer to Jason Evans Submitted by: "Richard Seaman, Jr." <dick@tar.com> Notes: svn path=/head/; revision=23574
* Submitted by: "Russell L. Carter" <rcarter@consys.com>Julian Elischer1999-12-022-2/+175
| | | | | | | more tuning Notes: svn path=/head/; revision=23545