summaryrefslogtreecommitdiff
path: root/devel/linuxthreads (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add new experimental option, LINUXTHREADS_WRAP_API, that adds wrapperTor Egge2003-06-095-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 Egge2003-06-093-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 Egge2003-03-272-1/+7
|
* Clear moonlight beckons.Ade Lovett2003-03-072-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 Egge2003-02-253-7/+56
| | | | Reviewed by: mbr
* 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
* Fix build failure on 5.0-CURRENT by including necessary headers.Tor Egge2002-11-192-2/+19
|
* Bump port revision to reflect memory leak fix.Tor Egge2002-09-061-1/+1
|
* Don't assume that pthread_key_t is signed, thus plugging a memory leak.Tor Egge2002-09-061-5/+5
|
* Let main thread do an exit(1) instead of an exit(0) on unclean programTor Egge2002-09-061-4/+8
| | | | termination (multiple active threads).
* Register PIC archives when INSTALL_PIC_ARCHIVE has been defined.Tor Egge2002-06-183-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 Egge2002-06-081-20/+19
|
* Build linuxthreads version of libstdc++ and libsupc++ under 5.0-CURRENT.Tor Egge2002-06-087-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 Egge2002-06-083-23/+40
|
* Track changes in -current (remove register keyword, ansify).Tor Egge2002-06-081-115/+115
|
* Fix malformed preprocessor directive.Tor Egge2002-06-081-1/+1
|
* Fix hang caused by a thread calling exit():Tor Egge2002-04-222-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 Egge2002-03-103-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 blockTor Egge2001-09-132-1/+10
| | | | waiting for a signal that wasn't sent.
* Add an optional experimental patch that reduce the number of contextTor Egge2001-09-092-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 indicateTor Egge2001-09-091-0/+1
| | | | that the stack frame chain stops here.
* Use libc version of _flockfile() and _funlockfile() on 5.0-CURRENT.Tor Egge2001-09-091-0/+10
|
* Backout library major number bump. It wasn't needed. Additionally,Tor Egge2001-07-012-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 Egge2001-06-149-434/+2398
|
* 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
* Use __error() from liblthread instead of the libc version.Tor Egge2001-02-262-21/+48
|
* Reference _flockfile to ensure that the linuxthreads version is used.Tor Egge2001-02-251-18/+21
|
* Initialize attributes for new threads with default values when a NULLTor Egge2001-02-205-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 Egge2001-02-181-1/+1
| | | | Approved by: jasone
* Massive style enforcement - use ^I instead of spaces for variables identation.Maxim Sobolev2001-01-161-1/+1
|
* Use the correct pthread.h when compiling liblgcc_r. Allow thread stacksJason Evans2000-11-063-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} isSatoshi Asami2000-10-081-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 whenSatoshi Asami2000-09-251-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 Evans2000-07-121-8/+0
|
* 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.
* 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.
* Add lib/liblgcc_r_p.a.Satoshi Asami2000-06-071-0/+1
| | | | Submitted by: bento
* Update from version 2.1.2 to 2.1.3 of LinuxThreads.Jason Evans2000-05-246-337/+323
|
* portlint - mostly moving around variables.Michael Haro2000-04-162-3/+0
|
* PORTNAME/PORTVERSION updateMichael Haro2000-04-111-8/+8
|
* Require a more recent OSVERSION, since linuxthreads uses dllockinit(),Jason Evans2000-02-011-1/+1
| | | | which only very recently started to work correctly with linuxthreads.
* Mark linuxthreads as requiring at least FreeBSD 4.0 and only working onJason Evans2000-01-291-1/+10
| | | | i386.
* Back out changes to lock functions passed to dllockinit().Jason Evans2000-01-293-152/+102
| | | | Don't compile the lockfile.c that comes with LinuxThreads.
* Don't use the pthreads rwlock implementation for dllockinit(), since itJason Evans2000-01-254-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' hasJason Evans2000-01-041-4/+4
| | | | | | neglected the Makefile twice. Submitted by: dick
* 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
* 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. (!)
* Make __pthread_attr_init() pthread_attr_init().Jason Evans1999-12-281-80/+86
| | | | Submitted by: "Russell L. Carter" <rcarter@pinyon.org>
* General comment cleanups.Tim Vanderhoek1999-12-281-1/+1
|
* Somehow, I missed the Makefile when committing the updated linuxthreadsJason Evans1999-12-281-21/+16
| | | | | | port. PR: 15724