| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Submitted by: tegge (maintainer)
Notes:
svn path=/head/; revision=194765
|
|
|
|
| |
Notes:
svn path=/head/; revision=187945
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
failed to take into account that the library contains wrappers for read()
and write() that calls __libc_read() and __libc_write(). This incorrectly
causes normal read() and write() operations to be retried if aborted by a
signal.
Instead of making __libc_read() and __libc_write() retry if aborted by a
signal, add new functions __libc_safe_read() and __libc_safe_write() that
retries operation after a signal. Change reads from manager pipe and
writes to manager pipe to use __libc_safe_read() and __libc_safe_write().
Notes:
svn path=/head/; revision=187944
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=187943
|
|
|
|
|
|
|
|
|
| |
Reported by: Eric Schuele <e.schuele__at__computer.org>,
Ganbold <ganbold__at__micom.mng.net>
Approved by: tegge (maintainer)
Notes:
svn path=/head/; revision=170474
|
|
|
|
|
|
|
| |
versions.
Notes:
svn path=/head/; revision=163745
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
MEMORY_BARRIER() as a asm op which clobbers memory to avoid unintended
reordering by the compiler.
Notes:
svn path=/head/; revision=163743
|
|
|
|
| |
Notes:
svn path=/head/; revision=154357
|
|
|
|
|
|
|
| |
or busy wait loop due to race between timeout and pthread_cond_signal.
Notes:
svn path=/head/; revision=154302
|
|
|
|
|
|
|
| |
but not consumed.
Notes:
svn path=/head/; revision=154300
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=122164
|
|
|
|
| |
Notes:
svn path=/head/; revision=104859
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
be a noop.
Notes:
svn path=/head/; revision=84877
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Link with liblgcc_r when creating linuxthreads versions of shared
libraries.
Notes:
svn path=/head/; revision=82555
|
|
|
|
| |
Notes:
svn path=/head/; revision=77504
|
|
|
|
|
|
|
| |
Reviewed by: mbr
Notes:
svn path=/head/; revision=76432
|
|
|
|
|
|
|
|
|
|
| |
Rev. 1.16 of src/sys/sys/msg.h broke the port three weeks
ago.
Reviewed by: tor
Notes:
svn path=/head/; revision=76155
|
|
|
|
| |
Notes:
svn path=/head/; revision=70499
|
|
|
|
| |
Notes:
svn path=/head/; revision=65731
|
|
|
|
|
|
|
| |
termination (multiple active threads).
Notes:
svn path=/head/; revision=65730
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=60877
|
|
|
|
| |
Notes:
svn path=/head/; revision=60876
|
|
|
|
| |
Notes:
svn path=/head/; revision=60875
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
waiting for a signal that wasn't sent.
Notes:
svn path=/head/; revision=47806
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
that the stack frame chain stops here.
Notes:
svn path=/head/; revision=47553
|
|
|
|
| |
Notes:
svn path=/head/; revision=47552
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=43965
|
|
|
|
|
|
|
|
|
| |
is a shared library. Use a copy of .cerror to avoid this problem.
PR: 24845
Notes:
svn path=/head/; revision=38796
|
|
|
|
| |
Notes:
svn path=/head/; revision=38795
|
|
|
|
| |
Notes:
svn path=/head/; revision=38691
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
larger than 16kB. Make sure to call global destructors during shutdown.
PR: ports/22429
Submitted by: tegge
Notes:
svn path=/head/; revision=34854
|
|
|
|
| |
Notes:
svn path=/head/; revision=30532
|
|
|
|
|
|
|
|
| |
creating a gcc specs file (prompted by Dima Ruben). Remove obsolete
information and update various tidbits.
Notes:
svn path=/head/; revision=30502
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=28720
|
|
|
|
|
|
|
| |
Don't compile the lockfile.c that comes with LinuxThreads.
Notes:
svn path=/head/; revision=25194
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
still some problems, at least with signal handling and locking on SMP.
Submitted by: dick
Notes:
svn path=/head/; revision=24399
|