summaryrefslogtreecommitdiff
path: root/lib/libpthread
AgeCommit message (Collapse)Author
2005-10-30Add pthread_atfork(3)Brad Smith
From FreeBSD 'looks ok' fgsch@ miod@ man page reviewed by jmc@
2005-10-30Don't use TAILQ_NEXT() on an element that has been removed. Similar toKenneth R Westerback
otto@'s diff for uvm_aobj.c. Identical to a diff canacar@ developed independantly. ok brad@ 'looks correct' fgsch@
2005-10-29Don't use TAILQ_NEXT() on an element that has been removed. Similar toKenneth R Westerback
otto@'s diff for uvm_aobj.c. ok deraadt@ pedro@
2005-10-14Use queue macros instead of directly accessing fields. ok marc@ miod@Otto Moerbeek
patrick@
2005-10-12remove MLINKS for pthread_mutexattr_{g,s}etpshared.3:Jason McIntyre
these functions seem never to have existed, and are certainly not documented in pthread_mutexattr(3), the page to which they point.
2005-07-14- make sure sem_ pages reference each other (idea from similar freebsd commit)Jason McIntyre
- where two functions are documented in the same page, make sure we don;t reference them both in SEE ALSO. kind of annoying to call up a second man page and find it's the same as the last one (even more annoying to not realise two pages are the same till you've finished reading twice ;)...
2005-02-09document [EBUSY];Jason McIntyre
from freebsd pr #73887; ok marc@
2005-02-01typo; from axel andersson;Jason McIntyre
2005-01-28Grab the current time before calculating thread wake-up time.Marco S Hyman
Solves a problem where select/poll calls would return early without indicating any error. Tested by otto@ and kurt@ -- thanks.
2005-01-23Add debug support.Mark Kettenis
ok marc@
2004-12-12Avoid using void pointers in additive expressionsBrad Smith
From FreeBSD ok marc@
2004-11-30* make sure we leave the thread's cancellation point before we returnPatrick Latifi
* plug a memory leak and FD_UNLOCK properly in writev ok marc
2004-11-02Convert float register save to new 64 bit ABI requirements.Per Fogelstrom
2004-09-18Allow thread in FD{R,W}_WAIT states to be suspended.Marco S Hyman
Patch from Kurt Miller <truk at optonline.net> Commit reminder from millert@. OK brad@
2004-09-09 couple of changes (int -> long) to handle 64 bits.Per Fogelstrom
2004-08-11mips->mips64Per Fogelstrom
2004-08-11mips->mips64. ok deraadt@Per Fogelstrom
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-06-24hsearch API/ABI u_int -> size_t -> crank majors; ok millertTheo de Raadt
2004-06-08missing include; ok marc@.Xavier Santolaria
2004-06-07major bump to libc and libpthread to break the dependency of aMarco S Hyman
particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@
2004-05-03libc major number crankTodd C. Miller
2004-05-02bump minor for new functions. Reminder from brad@Marco S Hyman
2004-05-01pthead_supsend_all_np and pthread_resume_all_np from freebsd viaMarco S Hyman
Kurt Miller <truk at optonline.net>. Kurt says: They're needed for the java hotspot compiler in the 1.3+ jdk OK brad@
2004-04-13refresh curthread after a thread switch so it points to the realMarco S Hyman
current thread. ok deraadt@
2004-04-10ansiBrad Smith
2004-04-10styleBrad Smith
2004-04-09When poll(2)'ing for readability or writability of a file descriptorBrad Smith
on behalf of a thread, we should check the POLLERR, POLLHUP, and POLLNVAL flags as well to wake up the thread in these cases. From: FreeBSD's libc_r ok marc@
2004-04-09remove old libc_r related chunk of the MakefileBrad Smith
ok marc@
2004-04-06Apply patch from guenther at mho.com (pr3730) that fixes a doubleMarco S Hyman
free in the threads library
2004-04-02slow_atomic_lock.c is only used by mips; marc@ okMichael Shalayeff
2004-03-02Use double load/store instructions whenever possible.Miod Vallat
2004-02-2788k uthread stuff. some regress succeeds, a few others still fail. ThisTheo de Raadt
is enough to start debugging further.. ok miod
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-25Apply my copyrights to these files which I wrote. none of the oldDale Rahn
copyright code remained.
2004-02-25copyrightsTheo de Raadt
2004-02-25initial working pthreads support from sparc64, done with drahn. there areTheo de Raadt
some `debugging features' and other optimizations (such as not saving all registers) that we can still do perhaps
2004-02-24Sync closer to FreeBSD's pthread.h. Fixes up some prototypesBrad Smith
and formatting. ok marc@
2004-02-22add pthread_attr_[get|set]stackBrad Smith
From: FreeBSD's libc_r ok marc@
2004-02-22Some cleanup of pthread.h. Don't conditionalizeBrad Smith
inclusion of prototypes. Remove some prototypes for functions we do not implement. From: FreeBSD's libc_r ok marc@
2004-02-21if cpu has fxsr, use fxsave instead; ok marcTheo de Raadt
2004-02-21Implement the arm pthreads pieces, only two regress fails, preemption_floatDale Rahn
and sigmask.
2004-02-16fixes function parameters to match the man page as wellBrad Smith
as adding a more aggressive arguement check. From: FreeBSD's libc_r. ok marc@
2004-02-16Add missing const for function parameters to match POSIX.Brad Smith
From: FreeBSD's libc_r ok marc@
2004-02-09Add copyright to code where I forgot, thx wouter.Dale Rahn
2004-02-09Add arm support files for libpthread.Dale Rahn
2004-02-06remove silly stub file for alpha and only try to compile _atomic_lock.cBrad Smith
if it actually exists. ok marc@
2004-02-02remove sparcv9 code.Brad Smith
ok marc@
2004-02-02sparc -> sparc64Brad Smith
2004-02-01Add a simple work-around for deadlocking on recursiveBrad Smith
readlocks on a rwlock while there are writers waiting. From: FreeBSD's libc_r ok marc@