summaryrefslogtreecommitdiff
path: root/lib/libpthread
AgeCommit message (Collapse)Author
2014-11-30do not use .St -p1003.1d-99 which is used in exactly two pages;Ingo Schwarze
im going to delete support for it from mandoc(1)
2014-08-31accept4() should be a cancellation point.Philip Guenther
Update the list in the pthread_testcancel(3) manpage: several were missing. noted by miod@
2014-08-30Xr __tfork instead of forkPhilip Guenther
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-03-06sync with header;Jason McIntyre
From: Gabriel Linder
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2014-01-03sort SEE ALSO;Jason McIntyre
2014-01-03some more information, based on a diff by sven falempinTed Unangst
2013-11-20spelling fix;Jason McIntyre
2013-11-20this implementation may now be capable of shared semaphoresTed Unangst
2013-11-20more detail on error conditionsTed Unangst
2013-11-19tweak previous;Jason McIntyre
2013-11-19slightly betterTed Unangst
2013-11-18boilerplate documentationTed Unangst
2013-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
From: Jan Stary
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-06-24space needed before punctuation;Jason McIntyre
2013-06-17Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options,Philip Guenther
including CLOCK_{PROCESS,THREAD}_CPUTIME_ID constants and {clock,pthread}_getcpuclockid() functions. Worked out at t2k13 with help from tedu@ and matthew@ and testing by aja@ ok matthew@
2013-06-05use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarzeTed Unangst
2013-06-02somehow missed spinlock.h here. broke bmercer's build.Ted Unangst
2013-06-01cleanup and consolidate the spinlock_lock (what a name!) code.Ted Unangst
it's now atomic_lock to better reflect its usage, and librthread now features a new spinlock that's really a ticket lock. thrlseep can handle both types of lock via a flag in the clock arg. (temp back compat hack) remove some old stuff that's accumulated along the way and no longer used. some feedback from dlg, who is concerned with all things ticket lock. (you need to boot a new kernel before installing librthread)
2013-04-14typo; Benedikt SteinbuschStuart Henderson
2013-03-26needs sys/cdefs.h because a case has been found where it is pulledTheo de Raadt
independently; spotted by sthen/naddy
2013-03-24SEM_VALUE_MAX belongs in <limits.h> (via sys/syslimits.h)Philip Guenther
struct sem --> struct __sem (doesn't belong in public namespace) Zap pointless _KERNEL tests ok deraadt@
2013-03-24machine/limits.h does not contain everything this file wants. It wantsTheo de Raadt
the MI sys/limits.h, and has been getting lucky that all callers had already pulled that in via other means.
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-11-05typedef pthread_key_t to an int instead of a volatile int, reverts a chunkLandry 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-11pthread_sigmask() doesn't require <pthread.h>, only <signal.h>.Matthew Dempsky
Pointed out by Brad.
2012-09-02tweaks; ok guentherJason McIntyre
2012-09-01Strip out stuff specific to the old uthreads and add similar bits forPhilip 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 uthreadsPhilip Guenthe
Like autumn leaves on water don't fear the tedu@
2012-07-11sem_timedwait() needs the struct timespec tag to be pre-declared here.Philip Guenthe
Add restrict qualifiers.
2012-06-28librthread has eaten libpthread, so build includes via the former insteadPhilip Guenthe
of the latter. Permits the misleading lib/libpthread/Makefile to be removed discussed with deraadt@
2012-06-21A piece of this is still neededTheo de Raadt
2012-06-21For now... libpthread is just a container directory, since all the newTheo 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-14More sysconf(3)-y and pathconf(3)-y goodness from Brad.Matthew Dempsky
ok guenther, millert (and me); bulk build test by naddy
2012-05-03Add 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-14Add new mutex type, PTHREAD_MUTEX_STRICT_NP which checks for applicationKurt 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-12Remove incorrect -pthread preprocessor define _POSIX_THREADS and replaceKurt Miller
with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. From brad@comstyle.com. okay guenther@
2012-04-11fix SEE ALSO;Jason McIntyre
2012-04-11Mention and link the pthread barrier functions. Okay jmc@.Paul Irofti
2012-04-11tweak previous;Jason McIntyre
2012-04-11Add 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-22Remove man pages for removed non-portable functions. okay jmc@Kurt Miller
2012-03-22Remove prototypes for unimplemented non-portable functions in rthreads.Kurt Miller
okay deraadt@
2012-03-22Remove pthread_suspend* and related functions. This is part of theKurt 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 bePhilip Guenthe
the wrong symbol anyway, so zap some lines ok matthew@
2012-03-22Hide behind #if 0 the sched_*() functions that we don't have yetPhilip Guenthe
Requested and tested against ports by aja@, ok matthew@
2012-03-22Update cancellation point list to reflect what's done with rthreadsPhilip Guenthe
2012-03-22new sentence, new line;Jason McIntyre