| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
support removed in 2008 (prior to 8.0).
Approved by: deischen, imp
MFC after: 3 days
Notes:
svn path=/head/; revision=264543
|
| |
|
|
|
|
|
|
|
| |
get rid of the __CONCAT and CNAME macros.
Reviewed by: bde, kib
Notes:
svn path=/head/; revision=258451
|
| |
|
|
| |
Notes:
svn path=/head/; revision=234412
|
| |
|
|
|
|
|
|
| |
Convert from using MACHINE_ARCH to MACHINE_CPUARCH. Hoist path statement
up into the top Makefile rather than repeating it on every arch Makefile.
Notes:
svn path=/head/; revision=209118
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
currently build, they should be kept. [1]
Unbreak their makefiles by removing the support for the long gone
DEFAULT_THREAD_LIB knob. (Allows the tools/make_libdeps.sh script
to succeed.)
According to: davidxu and deischen [1]
MFC after: 3 days
Notes:
svn path=/head/; revision=203918
|
| |
|
|
|
|
|
|
|
|
|
| |
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.
Reviewed by: kib
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=195767
|
| |
|
|
| |
Notes:
svn path=/head/; revision=188583
|
| |
|
|
|
|
|
|
|
| |
so that they get the benefit of the (limited) forward ABI compatibility.
MFC after: 1 week
Notes:
svn path=/head/; revision=179434
|
| |
|
|
|
|
|
|
|
|
| |
PR: 121490
Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by: rwatson (mentor), jkoshy
MFC after: 3 days
Notes:
svn path=/head/; revision=177626
|
| |
|
|
|
|
|
|
|
| |
Spotted by: tinderbox
Submitted by: Pietro Cerutti <gahr@gahr.ch>
Pointy hat to: des
Notes:
svn path=/head/; revision=176071
|
| |
|
|
|
|
|
|
|
| |
to have identical functionality.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=176060
|
| |
|
|
|
|
|
|
|
| |
(silently) disabled for libkse...
Pointy hat to: des
Notes:
svn path=/head/; revision=176056
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=176055
|
| |
|
|
|
|
|
|
|
|
|
|
| |
use. If it is in use, use the watched request, otherwise use the
lockuser's own request. Only allocate a lockuser request if both
requests are null.
PR: 119920
Tested by (6.x): Landon Fuller <landonf -at- bikemonkey -dot- org>
Notes:
svn path=/head/; revision=175864
|
| |
|
|
|
|
|
|
| |
version namespace which was needed before the library version was
bumped.
Notes:
svn path=/head/; revision=174689
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This protects against a race with an upcall in the parent during the
fork which can clobber the parent's tcb before the vm space is copied
in the child. The child then gets a corrupted tcb that is either null
or that points to another thread that doesn't exist in the child (after
a fork, only the fork()ing thread exists in the child).
Reported by: Arno J. Klaassen (arno at heho / snv / jussieu / fr)
Notes:
svn path=/head/; revision=174335
|
| |
|
|
|
|
|
|
|
| |
ia64, powerpc, and sparc64, use ANSI function headers and specifically
indicate the lack of arguments with 'void'. Otherwise, warnings are
generated at WARNS=3, leading to a compile failure with -Werror.
Notes:
svn path=/head/; revision=174127
|
| |
|
|
| |
Notes:
svn path=/head/; revision=174112
|
| |
|
|
|
|
|
|
|
| |
will work after a fork().
WARNS=3'ify.
Notes:
svn path=/head/; revision=174111
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
libkse in FreeBSD 8.0, do not build or install static versions of libkse
(i.e. libkse*.a) in the default case. Static versions will be built and
installed if libthr is not built or if libkse is the default threading
library.
Discussed on: freebsd-arch
MFC after: 3 days
Notes:
svn path=/head/; revision=174092
|
| |
|
|
|
|
|
| |
were obscured by pseudo-opaque pthreads API pointer casting.
Notes:
svn path=/head/; revision=174001
|
| |
|
|
|
|
|
|
| |
(part of libc) can use pthreads mutexes without causing infinite recursion
during initialization.
Notes:
svn path=/head/; revision=173967
|
| |
|
|
|
|
|
| |
it should be there.
Notes:
svn path=/head/; revision=173921
|
| |
|
|
|
|
|
|
|
|
|
| |
doesn't use the default CFLAGS which contain -fno-strict-aliasing.
Until the code is cleaned up, just add -fno-strict-aliasing to the
CFLAGS of these for the tinderboxes' sake, allowing the rest of the
tree to have -Werror enabled again.
Notes:
svn path=/head/; revision=173766
|
| |
|
|
|
|
|
| |
In _pthread_key_create() ensure that libkse is initialized.
Notes:
svn path=/head/; revision=173741
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is also implemented in glibc and is used by a number of existing
applications (mysql, firefox, etc).
This mutex type is a default mutex with the additional property that
it spins briefly when attempting to acquire a contested lock, doing
trylock operations in userland before entering the kernel to block if
eventually unsuccessful.
The expectation is that applications requesting this mutex type know
that the mutex is likely to be only held for very brief periods, so it
is faster to spin in userland and probably succeed in acquiring the
mutex, than to enter the kernel and sleep, only to be woken up almost
immediately. This can help significantly in certain cases when
pthread mutexes are heavily contended and held for brief durations
(such as mysql).
Spin up to 200 times before entering the kernel, which represents only
a few us on modern CPUs. No performance degradation was observed with
this value and it is sufficient to avoid a large performance drop in
mysql performance in the heavily contended pthread mutex case.
The libkse implementation is a NOP.
Reviewed by: jeff
MFC after: 3 days
Notes:
svn path=/head/; revision=173154
|
| |
|
|
|
|
|
| |
Approved by: re(kensmith)
Notes:
svn path=/head/; revision=172505
|
| |
|
|
|
|
|
|
|
| |
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by: re(kensmith)
Notes:
svn path=/head/; revision=172491
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the threading libraries is built. This simplifies the
logic in makefiles that need to check if the pthreads
support is present. It also fixes a bug where we would
build a threading library that we shouldn't have built:
for example, building with WITHOUT_LIBTHR and the default
value of DEFAULT_THREADING_LIB (libthr) would mistakenly
build the libthr library, but not install it.
Approved by: re (kensmith)
Notes:
svn path=/head/; revision=172403
|
| |
|
|
|
|
|
| |
Ok'd by: kan
Notes:
svn path=/head/; revision=169807
|
| |
|
|
|
|
|
|
|
|
| |
that would cause the selected shared threading library to be
overwritten with its 32-bit version on amd64.
PR: amd64/112509
Notes:
svn path=/head/; revision=169669
|
| |
|
|
|
|
|
| |
Submitted by: ru
Notes:
svn path=/head/; revision=169648
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).
Change the default thread library to libthr.
There most likely still needs to be a version bump for at least the
thread libraries. If necessary, this will happen later.
Notes:
svn path=/head/; revision=169524
|
| |
|
|
| |
Notes:
svn path=/head/; revision=169094
|
| |
|
|
|
|
|
| |
Submitted by: davidxu (via libthr)
Notes:
svn path=/head/; revision=168964
|
| |
|
|
| |
Notes:
svn path=/head/; revision=167244
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
child thread goes back to system scope rather than process
scope. This allows an ensuing exec() to actually work.
This change was made a year ago here, but I "forgot" to
commit it :(
Approved by: deischen
MFC after: 3 weeks
Notes:
svn path=/head/; revision=167241
|
| |
|
|
| |
Notes:
svn path=/head/; revision=165967
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
they become candidates for reuse. Without this fix, some of the
state from a thread structure's previous incarnation could interfere
with its new one. Specifically, a non-bound thread started as
"suspended" (see pthread_attr_setcreatesuspend_np()) might not get
scheduled at all when resumed, as the "active" flag would be set
spuriously.
Reviewed by: deischen@, davidxu@
MFC after: 1 week
Notes:
svn path=/head/; revision=165334
|
| |
|
|
|
|
|
|
|
|
|
| |
is also returned by pthread_detach() if a thread was already
detached, the error code was already documented:
> [EINVAL] The implementation has detected that the value speci-
> fied by thread does not refer to a joinable thread.
Notes:
svn path=/head/; revision=164715
|
| |
|
|
|
|
|
|
|
|
| |
o avoid using a global register variable.
o redefine struct ia64_tp as a union. We don't have to get to the
fields themselves. We just need it to be of the right size with
the right alignment.
Notes:
svn path=/head/; revision=161841
|
| |
|
|
|
|
|
|
|
|
| |
16-byte aligned. Consequently, struct tcb is a multiple of 16
bytes in size. We need to make sure there's no padding after
struct ppc32_tp. We do this by explicitly adding the necessary
padding in front of it.
Notes:
svn path=/head/; revision=161830
|
| |
|
|
|
|
|
| |
abstract the magic that happens when deriving one or the other.
Notes:
svn path=/head/; revision=161828
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161802
|
| |
|
|
| |
Notes:
svn path=/head/; revision=161526
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
do its work for SIGINFO. Always install libpthread signal handler
wrapper for SIGINFO even if user SIG_IGN's or SIG_DFL's it.
SIGINFO has a special meaning for libpthread: when LIBPTHREAD_DEBUG
enviroment variable defined it is used for dumping an information
about threads to /tmp/.
Reported by: mi
Reviewed by: deischen
MFC after: 2 weeks
Notes:
svn path=/head/; revision=159462
|
| |
|
|
| |
Notes:
svn path=/head/; revision=158679
|
| |
|
|
|
|
|
|
|
| |
movw for segment saving and restoring.
Submitted by: Diego 'Flameeyes' Petteno flameeyes at gentoo dot org
Notes:
svn path=/head/; revision=158348
|
| |
|
|
|
|
|
| |
Ok'ed by: davidxu
Notes:
svn path=/head/; revision=157700
|
| |
|
|
|
|
|
| |
/sbin programs.
Notes:
svn path=/head/; revision=157694
|