summaryrefslogtreecommitdiff
path: root/lib/libpthread
AgeCommit message (Collapse)Author
2001-11-12This fixes the recursive mutex problem with pthreads.Marco S Hyman
fgs@ says their is a better fix... if so he can back these changes out and apply his fix at his convenience. In the meanwhile we'll have mutexen that work.
2001-11-09Fix problem found by espie (and other porters) whereMarco S Hyman
system(...) hangs forever. From a comment in the fix: * Note: a thread calling wait4 may have its state changed to waiting * until awakened by a signal. Also note that system(3), for example, * blocks SIGCHLD and calls waitpid (which calls wait4). If the process * started by system(3) doesn't finish before this function is called the * function will never awaken -- system(3) also ignores SIGINT and SIGQUIT.
2001-11-05Don't change the state of a thread as a result of a signal that isMarco S Hyman
masked by that thread. This fixes the problem found with the signal regression test.
2001-11-02fix typo in thread status flagsMarco S Hyman
2001-11-02Fix signal dispatching. No-one has reported any probs (other thanMarco S Hyman
with regression tests that need to be fixed) and fgs@ thinks it's OK. I'll look at the pthreads regression tests, next
2001-10-30Add note to BUGS section regarding linking with -ggdb vs -gMarco S Hyman
2001-10-28Describe all the thread status flags. Describe the twoMarco S Hyman
environment variables used to control status format and display
2001-09-10Enough for libc_r on sparc64 to build (this stuff is mostly taken from sparc,Jason Wright
and will need attention before it can be expected to work).
2001-09-10Our gcc defines __sparcv9__ not __sparc_v9__Jason Wright
2001-09-04Use _waitq_remove() and _waitq_insert() always; from FreeBSD.Federico G. Schwindt
2001-09-04put changes back, this time ALL the files.Federico G. Schwindt
2001-08-30Back out fgsch@'s tree breaking commits.Todd T. Fries
Test next time, ok?
2001-08-30fix some const warnings.Federico G. Schwindt
more sync with freebsd.
2001-08-29More sync with FreeBSD.Federico G. Schwindt
2001-08-26More syncing with FreeBSD, preparing for a commit.Federico G. Schwindt
2001-08-21Start syncing with FreeBSD:Federico G. Schwindt
o Implement _get_curthread() and _set_curthread(). Use it where possible. o Add missing _thread_[enter|leave]_cancellation_point(). o Add a couple of not yet used vars to pthread_private.h. o Remove return's from void functions. This is by no means complete, but instead of doing a big commit, i'll split it in small ones, minimizing diffs.
2001-08-20spellingPeter Valchev
2001-08-19enable pthread_main_np(3)Peter Valchev
2001-08-18Describe the pthread_main_np() functionPeter Valchev
2001-08-17pthread_main_np prototypePeter Valchev
2001-08-17Provide the equivalent to Solaris thr_main() function; from FreeBSDPeter Valchev
2001-08-17correctly return ssize_t.Federico G. Schwindt
2001-08-17correctly return ssize_t.Federico G. Schwindt
2001-08-15ops, _thread_kern_set_timeout() to const.Federico G. Schwindt
2001-08-15* kevent(2) support; from FreeBSD.Federico G. Schwindt
* change _thread_kern_set_timeout() parm to const.
2001-08-15Use INFTIM.Federico G. Schwindt
2001-08-15For unsupported sched policies, return ENOTSUP, not EINVAL; from FreeBSD.Federico G. Schwindt
2001-08-11manpage for pthread_[get|set]schedparam; from FreeBSD.Federico G. Schwindt
2001-08-11add missing _thread_enter_cancellation_point() before going further.Federico G. Schwindt
2001-08-11Avoid an infinite loop if the last iov_len is 0; from FreeBSD.Federico G. Schwindt
2001-08-10pthread_* do not set errno but returns a errno value.Federico G. Schwindt
2001-08-09Only return EINVAL if attr is invalid. If policy is invalid returnFederico G. Schwindt
EOPNOTSUPP; from FreeBSD.
2001-08-09Do not return EINVAL if param is NULL or the desired scheduling policyFederico G. Schwindt
is unsupported but EOPNOTSUPP; from FreeBSD.
2001-08-09Implement pthread_mutexattr_gettype() as defined in Single Unix Spec, v2;Federico G. Schwindt
from FreeBSD.
2001-08-06o) We always close .Bl and .Bd tags;Mike Pechkin
o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok
2001-08-04don't return on void.Federico G. Schwindt
2001-08-04pthread_mutexattr_* manpage; from FreeBSD.Federico G. Schwindt
2001-08-03typo; krapht@secureops.comTheo de Raadt
2001-06-24remove double space after commajasoni
2001-06-24grammarjasoni
2001-06-01missing wordjasoni
"function will non-zero" -> "function will return non-zero"
2001-05-31missing wordjasoni
"the temporarily lacks the resources" -> "the system temporarily lacks...."
2001-05-31more typosTheo de Raadt
2001-05-31typos; first few spotted by heko@saitti.netTheo de Raadt
2001-03-13typo in commentDavid Leonard
2001-02-21Define struct _machdep_state again for libc_r to compile on mvme88k.Miod Vallat
2001-01-27Stubs for vax. (build at least)Hugh Graham
2001-01-16switch stacks even when restoring a preempted thread. (credit to pefo@)David Leonard
2000-12-31-lpthread -> -pthreadBrad Smith
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt