| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
ok guenther millert kettenis
|
|
|
|
|
|
| |
from r1.11. This allows webkit with --enable-debug to build, and is in
line with what FreeBSD/NetBSD uses.
ok kettenis@ guenther@
|
|
|
|
| |
Pointed out by Brad.
|
| |
|
|
|
|
|
|
|
|
| |
rthreads, including the beginning of a HISTORY section
Tweak name (and therefore order) of the Barrier Routines and Spinlock
Routines sections
Update the list of functions that aren't thread-safe
Be consistent with other manpages by spelling 'thread-safe' with a hyphen
|
|
|
|
|
| |
Like autumn leaves on water
don't fear the tedu@
|
|
|
|
| |
Add restrict qualifiers.
|
|
|
|
|
|
|
| |
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed
discussed with deraadt@
|
| |
|
|
|
|
|
|
|
|
| |
goop is in librthread. As a result, the top-level Makefile and
shlib_version here are simply very confusing and tell lies. Remove
them, and update the instructions in libc to not make my mistake
again.
ok guenther
|
|
|
|
| |
ok guenther, millert (and me); bulk build test by naddy
|
|
|
|
|
|
|
|
|
|
|
| |
Implementation, documentation and naive regression tests for:
- pthread_spin_init()
- pthread_spin_destroy()
- pthread_spin_lock()
- pthread_spin_trylock()
- pthread_spin_unlock()
Implementation okay guenther@, documentation okay jmc@.
|
|
|
|
|
|
|
|
| |
errors similar to PTHREAD_MUTEX_ERRORCHECK, however upon error it aborts.
The rational is that many applications don't check the return values on
pthread functions and will miss the errors that ERRORCHECK returns.
PTHREAD_MUTEX_STRICT_NP will be our default mutex type for awhile
okay guenther@ dcoppa@
|
|
|
|
|
| |
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h.
From brad@comstyle.com. okay guenther@
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implementation and documentation for:
- pthread_barrier_init()
- pthread_barrier_destroy()
- pthread_barrier_wait()
- pthread_barrierattr_init()
- pthread_barrierattr_destroy()
- pthread_barrierattr_getpshared()
- pthread_barrierattr_setpshared()
Currently only private barriers are supported.
Okay guenther@.
|
| |
|
|
|
|
| |
okay deraadt@
|
|
|
|
| |
rthreads major library bump from last night. okay kettenis@
|
|
|
|
|
|
| |
the wrong symbol anyway, so zap some lines
ok matthew@
|
|
|
|
| |
Requested and tested against ports by aja@, ok matthew@
|
| |
|
| |
|
|
|
|
| |
Pointed out by nicolas.george at normalesup.org. ok jmc@
|
| |
|
| |
|
|
|
|
|
|
|
| |
that it resumes waiting unless the thread was canceled. As part
of this, change the internal _sem_wait() function to return zero
on success and an errno value on failure instead of 1 on success
and zero on failure.
|
|
|
|
| |
group of functions. No objection from jmc@
|
|
|
|
| |
and pthread_rwlock_{timed,try}{rd,wr}lock(). Requested by jmc@
|
|
|
|
| |
of the functions, not a generic name that doesn't itself exist
|
|
|
|
| |
don;t list both pages in SEE ALSO;
|
| |
|
|
|
|
|
|
| |
pthread_mutex_timedlock() in that same page
ok fgsch@, brad@, as well as jmc@, who also fixed a bunch of nits
|
|
|
|
| |
Add pthread_mutex_timedlock(), requested by dcoppa@
|
|
|
|
| |
ok guenther@
|
| |
|
|
|
|
|
|
| |
points.
ok fgsch@
|
|
|
|
|
|
| |
instead of <pthread.h>.
ok guenther@, millert@
|
|
|
|
|
|
| |
_atomic_lock() declaration.
ok deraadt@
|
|
|
|
|
|
|
|
|
| |
SA_RESTART is set, with connect(2) being the exception thus getting its
own state.
as pointed by kurt, threads on this and PS_FDR_WAIT states need to be
set to PS_RUNNING since the current signal dispatching code only looks
at the current thread.
ok kurt@
|
|
|
|
|
| |
static version of pthread. fixes quite a few regression tests.
miod@ ok
|
|
|
|
|
|
|
|
| |
interrupted, thus simulating the system call restart behaviour in the
non-pthreads case.
Add a state for kevent since it shouldn't be restarted regardless of
SA_RESTART being present.
guenther@ ok.
|
|
|
|
|
|
| |
when not switching threads; issue observed by fgsch@
ok marc@
|
|
|
|
|
|
| |
build stuff.
ok deraadt@
|
|
|
|
|
| |
thread context, this used to work but loses bigtime with gcc4.
ok drahn@ deraadt@
|
|
|
|
| |
ok guenther@
|
|
|
|
|
|
|
| |
thread, then the save and restore of errno, FPU, and regs is unnecessary
and can be skipped.
"looks reasonable" marc@
|
|
|
|
| |
ok guenther
|