Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - due to the fninit() in _thread_machdep_save_float_state() all calls to | 2006-04-06 | 1 | -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 tweaks | 2006-04-02 | 1 | -6/+2 | ||
| | | | | suggested by kjell@; ok otto@ pat@ millert@ jaredy@ | |||||
* | Add _thread_atexit_lock and _thread_atexit_unlock to the list of | 2006-03-06 | 1 | -1/+3 | ||
| | | | | weak functions; ok millert@. | |||||
* | Avouid a race in atexit() handling by introducing a lock. Problem | 2006-02-22 | 1 | -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. | 2006-02-16 | 1 | -2/+3 | ||
| | | | | prevents userland from causing an overflow of tv_sec. okay marc@ | |||||
* | typos from alexey dobriyan; | 2006-02-06 | 1 | -2/+2 | ||
| | ||||||
* | Adapt things to use __type_t instead of _BSD_TYPE_T_ | 2006-01-06 | 2 | -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> | 2005-12-21 | 1 | -2/+2 | ||
| | | | | OK deraadt@ | |||||
* | My email address changed quite a while ago... | 2005-12-14 | 1 | -2/+2 | ||
| | ||||||
* | don't ask; ok drahn | 2005-11-25 | 1 | -1/+5 | ||
| | ||||||
* | use WANTLINT= (on all architectures) | 2005-11-24 | 1 | -1/+2 | ||
| | ||||||
* | revert this file to -r1.2, when it was originally written, | 2005-11-14 | 1 | -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@. | 2005-11-01 | 1 | -5/+6 | ||
| | ||||||
* | - Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution. | 2005-10-31 | 3 | -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. | 2005-10-31 | 1 | -2/+35 | ||
| | ||||||
* | remove trailing spaces; | 2005-10-30 | 1 | -3/+3 | ||
| | ||||||
* | shuffle some of the function names around into new section names. | 2005-10-30 | 1 | -32/+25 | ||
| | ||||||
* | and make sure the header change goes in too. | 2005-10-30 | 1 | -1/+2 | ||
| | ||||||
* | Add pthread_atfork(3) | 2005-10-30 | 9 | -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 to | 2005-10-30 | 1 | -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 to | 2005-10-29 | 1 | -3/+4 | ||
| | | | | | | otto@'s diff for uvm_aobj.c. ok deraadt@ pedro@ | |||||
* | Use queue macros instead of directly accessing fields. ok marc@ miod@ | 2005-10-14 | 1 | -5/+5 | ||
| | | | | patrick@ | |||||
* | remove MLINKS for pthread_mutexattr_{g,s}etpshared.3: | 2005-10-12 | 1 | -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) | 2005-07-14 | 6 | -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]; | 2005-02-09 | 1 | -1/+5 | ||
| | | | | | from freebsd pr #73887; ok marc@ | |||||
* | typo; from axel andersson; | 2005-02-01 | 1 | -2/+2 | ||
| | ||||||
* | Grab the current time before calculating thread wake-up time. | 2005-01-28 | 1 | -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. | 2005-01-23 | 2 | -2/+7 | ||
| | | | | ok marc@ | |||||
* | Avoid using void pointers in additive expressions | 2004-12-12 | 1 | -2/+4 | ||
| | | | | | | From FreeBSD ok marc@ | |||||
* | * make sure we leave the thread's cancellation point before we return | 2004-11-30 | 3 | -4/+10 | ||
| | | | | | | * plug a memory leak and FD_UNLOCK properly in writev ok marc | |||||
* | Convert float register save to new 64 bit ABI requirements. | 2004-11-02 | 2 | -14/+58 | ||
| | ||||||
* | Allow thread in FD{R,W}_WAIT states to be suspended. | 2004-09-18 | 1 | -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. | 2004-09-09 | 3 | -44/+45 | ||
| | ||||||
* | mips->mips64 | 2004-08-11 | 5 | -5/+5 | ||
| | ||||||
* | mips->mips64. ok deraadt@ | 2004-08-11 | 1 | -2/+2 | ||
| | ||||||
* | errno changes, lib major version bumps, and general flag day | 2004-07-13 | 1 | -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 millert | 2004-06-24 | 1 | -1/+1 | ||
| | ||||||
* | missing include; ok marc@. | 2004-06-08 | 1 | -1/+2 | ||
| | ||||||
* | major bump to libc and libpthread to break the dependency of a | 2004-06-07 | 8 | -135/+142 | ||
| | | | | | | particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@ | |||||
* | libc major number crank | 2004-05-03 | 1 | -2/+2 | ||
| | ||||||
* | bump minor for new functions. Reminder from brad@ | 2004-05-02 | 1 | -1/+1 | ||
| | ||||||
* | pthead_supsend_all_np and pthread_resume_all_np from freebsd via | 2004-05-01 | 7 | -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 real | 2004-04-13 | 1 | -1/+11 | ||
| | | | | current thread. ok deraadt@ | |||||
* | ansi | 2004-04-10 | 1 | -5/+2 | ||
| | ||||||
* | style | 2004-04-10 | 1 | -2/+2 | ||
| | ||||||
* | When poll(2)'ing for readability or writability of a file descriptor | 2004-04-09 | 1 | -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 Makefile | 2004-04-09 | 1 | -31/+1 | ||
| | | | | ok marc@ | |||||
* | Apply patch from guenther at mho.com (pr3730) that fixes a double | 2004-04-06 | 1 | -2/+4 | ||
| | | | | free in the threads library | |||||
* | slow_atomic_lock.c is only used by mips; marc@ ok | 2004-04-02 | 1 | -1/+4 | ||
| | ||||||
* | Use double load/store instructions whenever possible. | 2004-03-02 | 2 | -72/+45 | ||
| |