summaryrefslogtreecommitdiffstats
path: root/lib/libpthread (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - due to the fninit() in _thread_machdep_save_float_state() all calls tokurt2006-04-061-5/+16
| | | | | | | | | it need to be matched with a call to _thread_machdep_restore_float_state(), so add missing one in _thread_machdep_init(). - 16-byte align fp frame - call fwait() before save and and after restoring fp state. lots of guidance and ok mickey@
* malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksdjm2006-04-021-6/+2
| | | | suggested by kjell@; ok otto@ pat@ millert@ jaredy@
* Add _thread_atexit_lock and _thread_atexit_unlock to the list ofotto2006-03-061-1/+3
| | | | weak functions; ok millert@.
* Avouid a race in atexit() handling by introducing a lock. Problemotto2006-02-221-1/+14
| | | | | originally reported by Gergely Kovacs; help from dhartmei@; ok tedu@ millert@
* cap seconds to 100 million per man page and kernel nanosleep impl.kurt2006-02-161-2/+3
| | | | prevents userland from causing an overflow of tv_sec. okay marc@
* typos from alexey dobriyan;jmc2006-02-061-2/+2
|
* Adapt things to use __type_t instead of _BSD_TYPE_T_millert2006-01-062-11/+11
| | | | | Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
* Userland programs should include <errno.h> not <sys/errno.h>millert2005-12-211-2/+2
| | | | OK deraadt@
* My email address changed quite a while ago...drahn2005-12-141-2/+2
|
* don't ask; ok drahnderaadt2005-11-251-1/+5
|
* use WANTLINT= (on all architectures)deraadt2005-11-241-1/+2
|
* revert this file to -r1.2, when it was originally written,jmc2005-11-141-61/+30
| | | | | | | | | | | because of an unacceptable license: the file was originally written by david leonard, who has kindly agreed to us putting a (public domain) license on it: the original page did not contain any license. thanks david. this also includes some tweaks by me, so it does not exactly match revision 1.2.
* a bit of rewording; with input from jmc@.fgsch2005-11-011-5/+6
|
* - Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution.brad2005-10-313-11/+7
| | | | | | | | - Remove the macros MUTEX_TYPE_FAST and MUTEX_TYPE_COUNTING_FAST. From stefanf FreeBSD ok fgsch@
* add copyright from the original FreeBSD man page.brad2005-10-311-2/+35
|
* remove trailing spaces;jmc2005-10-301-3/+3
|
* shuffle some of the function names around into new section names.brad2005-10-301-32/+25
|
* and make sure the header change goes in too.brad2005-10-301-1/+2
|
* Add pthread_atfork(3)brad2005-10-309-8/+183
| | | | | | | From FreeBSD 'looks ok' fgsch@ miod@ man page reviewed by jmc@
* Don't use TAILQ_NEXT() on an element that has been removed. Similar tokrw2005-10-301-5/+10
| | | | | | | | otto@'s diff for uvm_aobj.c. Identical to a diff canacar@ developed independantly. ok brad@ 'looks correct' fgsch@
* Don't use TAILQ_NEXT() on an element that has been removed. Similar tokrw2005-10-291-3/+4
| | | | | | otto@'s diff for uvm_aobj.c. ok deraadt@ pedro@
* Use queue macros instead of directly accessing fields. ok marc@ miod@otto2005-10-141-5/+5
| | | | patrick@
* remove MLINKS for pthread_mutexattr_{g,s}etpshared.3:jmc2005-10-121-3/+1
| | | | | these functions seem never to have existed, and are certainly not documented in pthread_mutexattr(3), the page to which they point.
* - make sure sem_ pages reference each other (idea from similar freebsd commit)jmc2005-07-146-10/+30
| | | | | | | - 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 ;)...
* document [EBUSY];jmc2005-02-091-1/+5
| | | | | from freebsd pr #73887; ok marc@
* typo; from axel andersson;jmc2005-02-011-2/+2
|
* Grab the current time before calculating thread wake-up time.marc2005-01-281-19/+9
| | | | | Solves a problem where select/poll calls would return early without indicating any error. Tested by otto@ and kurt@ -- thanks.
* Add debug support.kettenis2005-01-232-2/+7
| | | | ok marc@
* Avoid using void pointers in additive expressionsbrad2004-12-121-2/+4
| | | | | | From FreeBSD ok marc@
* * make sure we leave the thread's cancellation point before we returnpat2004-11-303-4/+10
| | | | | | * plug a memory leak and FD_UNLOCK properly in writev ok marc
* Convert float register save to new 64 bit ABI requirements.pefo2004-11-022-14/+58
|
* Allow thread in FD{R,W}_WAIT states to be suspended.marc2004-09-181-2/+12
| | | | | Patch from Kurt Miller <truk at optonline.net> Commit reminder from millert@. OK brad@
* couple of changes (int -> long) to handle 64 bits.pefo2004-09-093-44/+45
|
* mips->mips64pefo2004-08-115-5/+5
|
* mips->mips64. ok deraadt@pefo2004-08-111-2/+2
|
* errno changes, lib major version bumps, and general flag daymarc2004-07-131-1/+1
| | | | | | | 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
* hsearch API/ABI u_int -> size_t -> crank majors; ok millertderaadt2004-06-241-1/+1
|
* missing include; ok marc@.xsa2004-06-081-1/+2
|
* major bump to libc and libpthread to break the dependency of amarc2004-06-078-135/+142
| | | | | | particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@
* libc major number crankmillert2004-05-031-2/+2
|
* bump minor for new functions. Reminder from brad@marc2004-05-021-1/+1
|
* pthead_supsend_all_np and pthread_resume_all_np from freebsd viamarc2004-05-017-129/+255
| | | | | | Kurt Miller <truk at optonline.net>. Kurt says: They're needed for the java hotspot compiler in the 1.3+ jdk OK brad@
* refresh curthread after a thread switch so it points to the realmarc2004-04-131-1/+11
| | | | current thread. ok deraadt@
* ansibrad2004-04-101-5/+2
|
* stylebrad2004-04-101-2/+2
|
* When poll(2)'ing for readability or writability of a file descriptorbrad2004-04-091-3/+7
| | | | | | | | | 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@
* remove old libc_r related chunk of the Makefilebrad2004-04-091-31/+1
| | | | ok marc@
* Apply patch from guenther at mho.com (pr3730) that fixes a doublemarc2004-04-061-2/+4
| | | | free in the threads library
* slow_atomic_lock.c is only used by mips; marc@ okmickey2004-04-021-1/+4
|
* Use double load/store instructions whenever possible.miod2004-03-022-72/+45
|