Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add new experimental option, LINUXTHREADS_WRAP_API, that adds wrapper | Tor Egge | 2003-06-09 | 5 | -54/+1778 |
| | | | | | | functions providing most of the native threads API while avoiding name clashes by transparently prefixing all function names that directly provide the linuxthreads API. | ||||
* | Adjust to changed compilation environment (Makefiles setup) in 5.1-CURRENT. | Tor Egge | 2003-06-09 | 3 | -6/+8 |
| | | | | | Link with liblgcc_r when creating linuxthreads versions of shared libraries. | ||||
* | Add _spinunlock() to keep up with libc change in 5.0-CURRENT. | Tor Egge | 2003-03-27 | 2 | -1/+7 |
| | |||||
* | Clear moonlight beckons. | Ade Lovett | 2003-03-07 | 2 | -1/+1 |
| | | | | | | | Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti. | ||||
* | Make detection of unsafe calls to exit() optional and not default. | Tor Egge | 2003-02-25 | 3 | -7/+56 |
| | | | | Reviewed by: mbr | ||||
* | Make this buildable again on CURRENT. | Martin Blapp | 2003-02-22 | 1 | -0/+9 |
| | | | | | | | Rev. 1.16 of src/sys/sys/msg.h broke the port three weeks ago. Reviewed by: tor | ||||
* | Fix build failure on 5.0-CURRENT by including necessary headers. | Tor Egge | 2002-11-19 | 2 | -2/+19 |
| | |||||
* | Bump port revision to reflect memory leak fix. | Tor Egge | 2002-09-06 | 1 | -1/+1 |
| | |||||
* | Don't assume that pthread_key_t is signed, thus plugging a memory leak. | Tor Egge | 2002-09-06 | 1 | -5/+5 |
| | |||||
* | Let main thread do an exit(1) instead of an exit(0) on unclean program | Tor Egge | 2002-09-06 | 1 | -4/+8 |
| | | | | termination (multiple active threads). | ||||
* | Register PIC archives when INSTALL_PIC_ARCHIVE has been defined. | Tor Egge | 2002-06-18 | 3 | -2/+23 |
| | | | | | | | 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. | ||||
* | Reduce number of portlint errors/warnings. | Tor Egge | 2002-06-08 | 1 | -20/+19 |
| | |||||
* | Build linuxthreads version of libstdc++ and libsupc++ under 5.0-CURRENT. | Tor Egge | 2002-06-08 | 7 | -25/+168 |
| | | | | | | | | | | 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 | ||||
* | Remove #pragma weak usage. | Tor Egge | 2002-06-08 | 3 | -23/+40 |
| | |||||
* | Track changes in -current (remove register keyword, ansify). | Tor Egge | 2002-06-08 | 1 | -115/+115 |
| | |||||
* | Fix malformed preprocessor directive. | Tor Egge | 2002-06-08 | 1 | -1/+1 |
| | |||||
* | Fix hang caused by a thread calling exit(): | Tor Egge | 2002-04-22 | 2 | -21/+75 |
| | | | | | | | | - 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. | ||||
* | Document that FreeBSD source code is needed to build linuxthreads port. | Tor Egge | 2002-03-10 | 3 | -2/+17 |
| | | | | | | 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. | ||||
* | Handle internal race that caused pthread_cond_timedwait() to block | Tor Egge | 2001-09-13 | 2 | -1/+10 |
| | | | | waiting for a signal that wasn't sent. | ||||
* | Add an optional experimental patch that reduce the number of context | Tor Egge | 2001-09-09 | 2 | -1/+326 |
| | | | | | | | switches on UP systems when the thread waiting on a condition has a higher priority than the thread signalling the condition. Bump port revision. | ||||
* | Set frame pointer to 0 before calling function in child process to indicate | Tor Egge | 2001-09-09 | 1 | -0/+1 |
| | | | | that the stack frame chain stops here. | ||||
* | Use libc version of _flockfile() and _funlockfile() on 5.0-CURRENT. | Tor Egge | 2001-09-09 | 1 | -0/+10 |
| | |||||
* | Backout library major number bump. It wasn't needed. Additionally, | Tor Egge | 2001-07-01 | 2 | -5/+3 |
| | | | | | ldconfig -r didn't list the library, making it impossible for other ports to depend on the linuxthreads port. | ||||
* | Update from version 2.1.3 to 2.2.3 of LinuxThreads. | Tor Egge | 2001-06-14 | 9 | -434/+2398 |
| | |||||
* | Calling the libc .cerror from outside libc doesn't work when libc | Tor Egge | 2001-02-26 | 1 | -2/+15 |
| | | | | | | is a shared library. Use a copy of .cerror to avoid this problem. PR: 24845 | ||||
* | Use __error() from liblthread instead of the libc version. | Tor Egge | 2001-02-26 | 2 | -21/+48 |
| | |||||
* | Reference _flockfile to ensure that the linuxthreads version is used. | Tor Egge | 2001-02-25 | 1 | -18/+21 |
| | |||||
* | Initialize attributes for new threads with default values when a NULL | Tor Egge | 2001-02-20 | 5 | -60/+276 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Take over linuxthreads port maintainership. | Tor Egge | 2001-02-18 | 1 | -1/+1 |
| | | | | Approved by: jasone | ||||
* | Massive style enforcement - use ^I instead of spaces for variables identation. | Maxim Sobolev | 2001-01-16 | 1 | -1/+1 |
| | |||||
* | Use the correct pthread.h when compiling liblgcc_r. Allow thread stacks | Jason Evans | 2000-11-06 | 3 | -35/+94 |
| | | | | | | | larger than 16kB. Make sure to call global destructors during shutdown. PR: ports/22429 Submitted by: tegge | ||||
* | Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is | Satoshi Asami | 2000-10-08 | 1 | -2/+2 |
| | | | | | | spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type fixes that shouldn't have been necessary) and the string "/pkg/" appear. | ||||
* | Eliminate WRKSRC=${WRKDIR}/${PKGNAME} lines, as these will break when | Satoshi Asami | 2000-09-25 | 1 | -3/+1 |
| | | | | | | | | | | | PORTREVISION or PORTEPOCH are defined. Most of these Makefiles were defining DISTNAME and WRKSRC (and sometimes EXTRACT_SUFX) -- change those to define DISTFILES only. Also, some of the WRKSRC lines were not even necessary, as they were defining it to the default value. Instigated by: Peter Pentchev <roam@orbitel.bg> and kris | ||||
* | Remove call to deprecated function, dllockinit(). | Jason Evans | 2000-07-12 | 1 | -8/+0 |
| | |||||
* | Fix a mistake in the directions for creating symlinks. Add instructions for | Jason Evans | 2000-07-12 | 1 | -35/+23 |
| | | | | | creating a gcc specs file (prompted by Dima Ruben). Remove obsolete information and update various tidbits. | ||||
* | Rather than copying the entirety of src/gnu/lib/libgcc/Makefile, .include it | Jason Evans | 2000-07-12 | 1 | -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. | ||||
* | Add lib/liblgcc_r_p.a. | Satoshi Asami | 2000-06-07 | 1 | -0/+1 |
| | | | | Submitted by: bento | ||||
* | Update from version 2.1.2 to 2.1.3 of LinuxThreads. | Jason Evans | 2000-05-24 | 6 | -337/+323 |
| | |||||
* | portlint - mostly moving around variables. | Michael Haro | 2000-04-16 | 2 | -3/+0 |
| | |||||
* | PORTNAME/PORTVERSION update | Michael Haro | 2000-04-11 | 1 | -8/+8 |
| | |||||
* | Require a more recent OSVERSION, since linuxthreads uses dllockinit(), | Jason Evans | 2000-02-01 | 1 | -1/+1 |
| | | | | which only very recently started to work correctly with linuxthreads. | ||||
* | Mark linuxthreads as requiring at least FreeBSD 4.0 and only working on | Jason Evans | 2000-01-29 | 1 | -1/+10 |
| | | | | i386. | ||||
* | Back out changes to lock functions passed to dllockinit(). | Jason Evans | 2000-01-29 | 3 | -152/+102 |
| | | | | Don't compile the lockfile.c that comes with LinuxThreads. | ||||
* | Don't use the pthreads rwlock implementation for dllockinit(), since it | Jason Evans | 2000-01-25 | 4 | -126/+136 |
| | | | | | | | causes infinite recursion while trying to initialize the internal library state. Instead, use a simple spinlock-based rwlock implementation. Make minor cancellation cleanups. | ||||
* | Commit the updated Makefile too. I'm baffled as to how 'fcvs com' has | Jason Evans | 2000-01-04 | 1 | -4/+4 |
| | | | | | | neglected the Makefile twice. Submitted by: dick | ||||
* | Clean up the port considerably, and fix several serious bugs. There are | Jason Evans | 2000-01-04 | 10 | -826/+1030 |
| | | | | | | still some problems, at least with signal handling and locking on SMP. Submitted by: dick | ||||
* | Add #define _KERNEL around #include of <sys/errno.h> - this is to avoid | Peter Wemm | 1999-12-29 | 1 | -0/+2 |
| | | | | the C-style externs in this assembler file. (!) | ||||
* | Make __pthread_attr_init() pthread_attr_init(). | Jason Evans | 1999-12-28 | 1 | -80/+86 |
| | | | | Submitted by: "Russell L. Carter" <rcarter@pinyon.org> | ||||
* | General comment cleanups. | Tim Vanderhoek | 1999-12-28 | 1 | -1/+1 |
| | |||||
* | Somehow, I missed the Makefile when committing the updated linuxthreads | Jason Evans | 1999-12-28 | 1 | -21/+16 |
| | | | | | | port. PR: 15724 |