aboutsummaryrefslogtreecommitdiff
path: root/devel/linuxthreads
Commit message (Collapse)AuthorAgeFilesLines
* - Fix conditionals for ancient make(1)Pav Lucistnik2005-09-101-2/+2
| | | | | | | | | PR: ports/84482 Submitted by: Brent B. Powers <bbp2006@columbia.edu> Approved by: maintainer timeout (tegge; 1 month) Notes: svn path=/head/; revision=142382
* Catch up with shared library version bump in FreeBSD >= 6.0.Tor Egge2005-07-252-2/+7
| | | | Notes: svn path=/head/; revision=140089
* Check for NO_PIC and NO_PROFILE on FreeBSD >= 6.0.Tor Egge2005-07-227-27/+183
| | | | | | | | | | | | | | | | | | | | | | | | 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
* BROKEN on FreeBSD >= 6.0: Does not compileKris Kennaway2005-07-201-0/+4
| | | | Notes: svn path=/head/; revision=139758
* Align stack address for new threads.Tor Egge2004-11-222-1/+2
| | | | Notes: svn path=/head/; revision=122164
* Stop wrapping gethost* functions on 5.2-CURRENT.Tor Egge2004-03-213-2/+17
| | | | Notes: svn path=/head/; revision=104859
* Add size data, approved by maintainers.Trevor Johnson2004-03-201-0/+1
| | | | Notes: svn path=/head/; revision=104775
* Add option to ignore posix priority scheduling.Tor Egge2004-02-279-5/+556
| | | | | | | | 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-144-6/+57
| | | | | | | | | | | | | | | | 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-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. 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-272-1/+7
| | | | Notes: svn path=/head/; revision=77504
* 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. Notes: svn path=/head/; revision=77045
* Make detection of unsafe calls to exit() optional and not default.Tor Egge2003-02-253-7/+56
| | | | | | | 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-192-2/+19
| | | | Notes: svn path=/head/; revision=70499
* Bump port revision to reflect memory leak fix.Tor Egge2002-09-061-1/+1
| | | | Notes: svn path=/head/; revision=65732
* 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-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. Notes: svn path=/head/; revision=61524
* Reduce number of portlint errors/warnings.Tor Egge2002-06-081-20/+19
| | | | Notes: svn path=/head/; revision=60909
* 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 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-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. Notes: svn path=/head/; revision=57988
* 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. Notes: svn path=/head/; revision=55797
* Handle internal race that caused pthread_cond_timedwait() to blockTor Egge2001-09-132-1/+10
| | | | | | | 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-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. 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-012-5/+3
| | | | | | | | 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-149-434/+2398
| | | | 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-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. Notes: svn path=/head/; revision=38495
* Take over linuxthreads port maintainership.Tor Egge2001-02-181-1/+1
| | | | | | | Approved by: jasone Notes: svn path=/head/; revision=38471
* Massive style enforcement - use ^I instead of spaces for variables identation.Maxim Sobolev2001-01-161-1/+1
| | | | Notes: svn path=/head/; revision=37252
* 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 Notes: svn path=/head/; revision=34854
* 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. Notes: svn path=/head/; revision=33576
* 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 Notes: svn path=/head/; revision=33101
* 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
* Add lib/liblgcc_r_p.a.Satoshi Asami2000-06-071-0/+1
| | | | | | | Submitted by: bento Notes: svn path=/head/; revision=29351
* Update from version 2.1.2 to 2.1.3 of LinuxThreads.Jason Evans2000-05-246-337/+323
| | | | Notes: svn path=/head/; revision=28720
* portlint - mostly moving around variables.Michael Haro2000-04-162-3/+0
| | | | Notes: svn path=/head/; revision=27675
* PORTNAME/PORTVERSION updateMichael Haro2000-04-111-8/+8
| | | | Notes: svn path=/head/; revision=27452