Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Instead of ifdef around ENOTSUP, move it to pthread_private.h and make | 2002-01-19 | 6 | -28/+12 | ||
| | | | | it EOPNOTSUPP. | |||||
* | From FreeBSD: correct priority handling. | 2002-01-19 | 2 | -5/+9 | ||
| | ||||||
* | From FreeBSD: sem_XXX implementation; manpages comming in a bit. | 2002-01-18 | 2 | -1/+249 | ||
| | ||||||
* | when alloc'ing the ready queue, make it big enough. | 2002-01-17 | 1 | -2/+2 | ||
| | ||||||
* | Change 1st arg in pthread_attr_getdetachstate to const. | 2002-01-10 | 1 | -2/+3 | ||
| | ||||||
* | From FreeBSD: fix conversion from msec to timespec. | 2002-01-10 | 1 | -3/+3 | ||
| | ||||||
* | comment out the pending signals check by now; it was not suppose to be | 2002-01-04 | 1 | -1/+3 | ||
| | | | | there yet. | |||||
* | fpathconf(2) returns long. | 2002-01-02 | 1 | -2/+2 | ||
| | ||||||
* | More changes from FreeBSD, including: | 2001-12-31 | 6 | -310/+296 | ||
| | | | | | | | | | o Only poll file descriptors when needed. o Change the way timing is achieved, counting scheduling ticks instead of calculating the elapsed time via gettimeofday(). o Prevent an overflow when polling. o Use curthread instead of _thread_run. o Remove extra spaces; indent. | |||||
* | call pthread_sigmask() instead of having the code twice. | 2001-12-30 | 1 | -47/+3 | ||
| | ||||||
* | From FreeBSD: | 2001-12-20 | 1 | -7/+5 | ||
| | | | | | | When cancelling a thread while in a join operation, do not detach the target thread of the join operation. This allows the cancelled thread to detach the target thread in its cancellation handler. | |||||
* | sync with freebsd. | 2001-12-20 | 1 | -71/+184 | ||
| | ||||||
* | More sync. | 2001-12-19 | 5 | -44/+123 | ||
| | ||||||
* | Allow the scheduler to return to the signal handler and the signal | 2001-12-18 | 2 | -8/+19 | ||
| | | | | | | handler to return instead of calling sigreturn directly. This works around an apparent bug in sparc sigreturn handling. ok fgs@ and noone else has bitched | |||||
* | More sync with freebsd code; join related code this time. | 2001-12-11 | 10 | -146/+216 | ||
| | ||||||
* | sync with freebsd. | 2001-12-08 | 1 | -2/+3 | ||
| | ||||||
* | Partially sync with FreeBSD; mostly pthread_cancel(3) related changes. | 2001-12-08 | 7 | -91/+140 | ||
| | | | | make includes is needed in case you want to play. | |||||
* | a better fix for recursive mutex. | 2001-11-12 | 1 | -16/+4 | ||
| | ||||||
* | This fixes the recursive mutex problem with pthreads. | 2001-11-12 | 1 | -2/+14 | ||
| | | | | | | 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. | |||||
* | Fix problem found by espie (and other porters) where | 2001-11-09 | 1 | -1/+17 | ||
| | | | | | | | | | | 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. | |||||
* | Don't change the state of a thread as a result of a signal that is | 2001-11-05 | 1 | -4/+7 | ||
| | | | | | masked by that thread. This fixes the problem found with the signal regression test. | |||||
* | Fix signal dispatching. No-one has reported any probs (other than | 2001-11-02 | 1 | -3/+3 | ||
| | | | | | with regression tests that need to be fixed) and fgs@ thinks it's OK. I'll look at the pthreads regression tests, next | |||||
* | Use _waitq_remove() and _waitq_insert() always; from FreeBSD. | 2001-09-04 | 2 | -27/+5 | ||
| | ||||||
* | put changes back, this time ALL the files. | 2001-09-04 | 8 | -43/+131 | ||
| | ||||||
* | Back out fgsch@'s tree breaking commits. | 2001-08-30 | 8 | -131/+43 | ||
| | | | | Test next time, ok? | |||||
* | fix some const warnings. | 2001-08-30 | 8 | -43/+131 | ||
| | | | | more sync with freebsd. | |||||
* | More sync with FreeBSD. | 2001-08-29 | 2 | -98/+186 | ||
| | ||||||
* | More syncing with FreeBSD, preparing for a commit. | 2001-08-26 | 1 | -10/+94 | ||
| | ||||||
* | Start syncing with FreeBSD: | 2001-08-21 | 38 | -259/+345 | ||
| | | | | | | | | | | 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. | |||||
* | Provide the equivalent to Solaris thr_main() function; from FreeBSD | 2001-08-17 | 2 | -1/+50 | ||
| | ||||||
* | correctly return ssize_t. | 2001-08-17 | 2 | -4/+4 | ||
| | ||||||
* | ops, _thread_kern_set_timeout() to const. | 2001-08-15 | 1 | -2/+2 | ||
| | ||||||
* | * kevent(2) support; from FreeBSD. | 2001-08-15 | 3 | -3/+87 | ||
| | | | | * change _thread_kern_set_timeout() parm to const. | |||||
* | Use INFTIM. | 2001-08-15 | 1 | -2/+2 | ||
| | ||||||
* | For unsupported sched policies, return ENOTSUP, not EINVAL; from FreeBSD. | 2001-08-15 | 1 | -5/+11 | ||
| | ||||||
* | add missing _thread_enter_cancellation_point() before going further. | 2001-08-11 | 1 | -1/+4 | ||
| | ||||||
* | Avoid an infinite loop if the last iov_len is 0; from FreeBSD. | 2001-08-11 | 1 | -1/+13 | ||
| | ||||||
* | pthread_* do not set errno but returns a errno value. | 2001-08-10 | 3 | -13/+8 | ||
| | ||||||
* | Only return EINVAL if attr is invalid. If policy is invalid return | 2001-08-09 | 1 | -5/+10 | ||
| | | | | EOPNOTSUPP; from FreeBSD. | |||||
* | Do not return EINVAL if param is NULL or the desired scheduling policy | 2001-08-09 | 1 | -3/+17 | ||
| | | | | is unsupported but EOPNOTSUPP; from FreeBSD. | |||||
* | Implement pthread_mutexattr_gettype() as defined in Single Unix Spec, v2; | 2001-08-09 | 1 | -1/+16 | ||
| | | | | from FreeBSD. | |||||
* | don't return on void. | 2001-08-04 | 1 | -4/+1 | ||
| | ||||||
* | switch stacks even when restoring a preempted thread. (credit to pefo@) | 2001-01-16 | 1 | -12/+8 | ||
| | ||||||
* | use __x__ formats for __attribute__ arguments; guenther@gac.edu | 2000-12-06 | 1 | -3/+3 | ||
| | ||||||
* | switch to _machdep_switch() instead of setjmp/longjmp. For some reason this fixes sparc threads. | 2000-10-04 | 3 | -48/+51 | ||
| | ||||||
* | if fstat fails fails, as it will on some sockets, close anyway. | 2000-10-04 | 1 | -4/+10 | ||
| | ||||||
* | MACHINE_STACK_GROWS_UP | 2000-03-22 | 1 | -18/+26 | ||
| | ||||||
* | alpha | 2000-02-26 | 1 | -3/+7 | ||
| | ||||||
* | better column titles. show prioq and scheduler timing information | 2000-02-26 | 1 | -5/+34 | ||
| | ||||||
* | uninitialised fields | 2000-02-26 | 1 | -1/+3 | ||
| |