summaryrefslogtreecommitdiff
path: root/lib/libpthread
AgeCommit message (Collapse)Author
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@
2004-01-28the rest of the libs stuff; from art@ againMichael Shalayeff
2004-01-27remove redundant prototypes for pthread_[gs]etconcurrencyBrad Smith
in-between #ifdef notyet
2004-01-26Change read_stackseg_np to work with any thread, not just the currentMarco S Hyman
thread. Requested by truk at optonline dot net and OK-ed by tedu @.
2004-01-25use new .St macro;Jason McIntyre
2004-01-19Fix -Wsign-compare warnings pointed out by kevlo@, ok marc@Todd C. Miller
2004-01-18don't include bsd.own.mk, it's included at the top of bsd.lib.mkMarco S Hyman
2004-01-16Include correct includes to unbreak compilation on macppc. ok miod@Otto Moerbeek
2004-01-16fix .Xr and SEE ALSO;Jason McIntyre
use parentheses;
2004-01-16add some commas;Jason McIntyre
2004-01-15man pages for thread_yield and pthread_stackseg_npMarco S Hyman
jmc asked for them, now he can make them look pretty
2004-01-15threaded version of closefromMarco S Hyman
pthread_stackseg_np added. Minor bump for these changes occurred a day or so ago and will not be bumped again
2004-01-15group and list thread functions;Jason McIntyre
also add missing pages to SEE ALSO; prodded by tedu@, based on freebsd's page, and helped by marc@; ok marc@ tedu@
2004-01-12new syscall closefrom(2). ok deraadt millertTed Unangst
2004-01-03Fixes from FreeBSD's libc_rBrad Smith
rev 1.21 Make the libc_r version of select() set the readable or writable file descriptor bit if poll() returns POLLERR, POLLHUP, or POLLNVAL. Othewise, it's possible for select() to return successfully but with no bits set. rev 1.19 Return correct number of total bits set in all fd_set's. Change case of POLLNVAL as an error. Remove POLLHUP and POLLERR from one case, their place is most likely amongst read events. ok marc@
2004-01-02add a section on thread safety, which is a start at documenting whichJason McIntyre
functions are not thread safe; started by a request from Marc Balmer to document that malloc(3) *was* thread safe, and expanded by marc@ to list functions that are not; also add some spacing to make the page more readable, and adjust the -width of a list; ok marc@