Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2012-11-05 | typedef pthread_key_t to an int instead of a volatile int, reverts a chunk | Landry Breuil | |
from r1.11. This allows webkit with --enable-debug to build, and is in line with what FreeBSD/NetBSD uses. ok kettenis@ guenther@ | |||
2012-09-11 | pthread_sigmask() doesn't require <pthread.h>, only <signal.h>. | Matthew Dempsky | |
Pointed out by Brad. | |||
2012-09-02 | tweaks; ok guenther | Jason McIntyre | |
2012-09-01 | Strip out stuff specific to the old uthreads and add similar bits for | Philip Guenthe | |
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 | |||
2012-09-01 | So passes uthreads | Philip Guenthe | |
Like autumn leaves on water don't fear the tedu@ | |||
2012-07-11 | sem_timedwait() needs the struct timespec tag to be pre-declared here. | Philip Guenthe | |
Add restrict qualifiers. | |||
2012-06-28 | librthread has eaten libpthread, so build includes via the former instead | Philip Guenthe | |
of the latter. Permits the misleading lib/libpthread/Makefile to be removed discussed with deraadt@ | |||
2012-06-21 | A piece of this is still needed | Theo de Raadt | |
2012-06-21 | For now... libpthread is just a container directory, since all the new | Theo de Raadt | |
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 | |||
2012-05-14 | More sysconf(3)-y and pathconf(3)-y goodness from Brad. | Matthew Dempsky | |
ok guenther, millert (and me); bulk build test by naddy | |||
2012-05-03 | Add pthread spinlock support. | Paul Irofti | |
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@. | |||
2012-04-14 | Add new mutex type, PTHREAD_MUTEX_STRICT_NP which checks for application | Kurt Miller | |
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@ | |||
2012-04-12 | Remove incorrect -pthread preprocessor define _POSIX_THREADS and replace | Kurt Miller | |
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. From brad@comstyle.com. okay guenther@ | |||
2012-04-11 | fix SEE ALSO; | Jason McIntyre | |
2012-04-11 | Mention and link the pthread barrier functions. Okay jmc@. | Paul Irofti | |
2012-04-11 | tweak previous; | Jason McIntyre | |
2012-04-11 | Add pthread barrier support. | Paul Irofti | |
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@. | |||
2012-03-22 | Remove man pages for removed non-portable functions. okay jmc@ | Kurt Miller | |
2012-03-22 | Remove prototypes for unimplemented non-portable functions in rthreads. | Kurt Miller | |
okay deraadt@ | |||
2012-03-22 | Remove pthread_suspend* and related functions. This is part of the | Kurt Miller | |
rthreads major library bump from last night. okay kettenis@ | |||
2012-03-22 | <sched.h> is never pulled in from the kernel and #ifdef KERNEL would be | Philip Guenthe | |
the wrong symbol anyway, so zap some lines ok matthew@ | |||
2012-03-22 | Hide behind #if 0 the sched_*() functions that we don't have yet | Philip Guenthe | |
Requested and tested against ports by aja@, ok matthew@ | |||
2012-03-22 | Update cancellation point list to reflect what's done with rthreads | Philip Guenthe | |
2012-03-22 | new sentence, new line; | Jason McIntyre | |
2012-03-21 | Update list of cancellation points to reflect what was in 5.1's uthreads | Philip Guenthe | |
Pointed out by nicolas.george at normalesup.org. ok jmc@ | |||
2012-03-04 | add sem_timedwait to NAME; | Jason McIntyre | |
2012-03-03 | Document sem_timedwait() | Philip Guenthe | |
2012-03-03 | Add sem_timewait() and fix sem_wait()'s handling of signals, so | Philip Guenthe | |
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. | |||
2012-02-25 | Apply a bit more consistency in the ordering of functions in each | Philip Guenthe | |
group of functions. No objection from jmc@ | |||
2012-02-24 | Add pthread_condattr_{get,set}clock(), pthread_mutex_timedlock(), | Philip Guenthe | |
and pthread_rwlock_{timed,try}{rd,wr}lock(). Requested by jmc@ | |||
2012-02-24 | jmc@ points out that the underlying manpage should be named after one | Philip Guenthe | |
of the functions, not a generic name that doesn't itself exist | |||
2012-02-24 | now that pthread_mutex_trylock.3 has been folded into pthread_mutex_lock.3, | Jason McIntyre | |
don;t list both pages in SEE ALSO; | |||
2012-02-24 | Document pthread_condattr_{init,destroy,setclock,getclock} | Philip Guenthe | |
2012-02-24 | Merge pthread_mutex_trylock(3) into pthread_mutex_lock(3) and document | Philip Guenthe | |
pthread_mutex_timedlock() in that same page ok fgsch@, brad@, as well as jmc@, who also fixed a bunch of nits | |||
2012-02-23 | Add pthread_condattr_{get,set}clock(), requested by aja@ | Philip Guenthe | |
Add pthread_mutex_timedlock(), requested by dcoppa@ | |||
2012-01-18 | remove unused variable | Charles Longeau | |
ok guenther@ | |||
2012-01-17 | Bump minor for addition of openat/pread/preadv/pwrite/pwritev | Philip Guenthe | |
2012-01-17 | Make openat(), pread(), preadv(), pwrite(), and pwritev() cancellation | Philip Guenthe | |
points. ok fgsch@ | |||
2012-01-03 | The prototype for pthread_sigmask(2) is supposed to live in <signal.h> | Mark Kettenis | |
instead of <pthread.h>. ok guenther@, millert@ | |||
2011-11-14 | Unbreak build of libpthread on hppa/hppa64 by using correct type in | Joel Sing | |
_atomic_lock() declaration. ok deraadt@ | |||
2011-10-07 | threads waiting on PS_FDW_WAIT state should not be interruptible if | Federico G. Schwindt | |
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@ | |||
2011-09-28 | make sure that `references' is not optimized away as it is required for the | Federico G. Schwindt | |
static version of pthread. fixes quite a few regression tests. miod@ ok | |||
2011-09-13 | For threads in PS_FDR_WAIT state, check SA_RESTART before marking it as | Federico G. Schwindt | |
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. | |||
2011-09-05 | The scheduling loop can change errno, so we need to restore it even | Philip Guenthe | |
when not switching threads; issue observed by fgsch@ ok marc@ | |||
2011-08-04 | Initial hppa64 code drop; not finished yet, but this at least allows us to | Mark Kettenis | |
build stuff. ok deraadt@ | |||
2011-08-03 | Don't try to outsmart gcc inline assembler when saving the cpsr in the | Miod Vallat | |
thread context, this used to work but loses bigtime with gcc4. ok drahn@ deraadt@ | |||
2011-07-19 | Handle F_DUPFD_CLOEXEC the same as we do F_DUPFD. | Matthew Dempsky | |
ok guenther@ | |||
2011-07-07 | When context switching, if the 'new' thread is the same as the 'old' | Philip Guenthe | |
thread, then the save and restore of errno, FPU, and regs is unnecessary and can be skipped. "looks reasonable" marc@ | |||
2011-07-05 | check that thread specific keys are valid, and cleanup code a little. | Ted Unangst | |
ok guenther |