summaryrefslogtreecommitdiff
path: root/lib/libpthread
AgeCommit message (Collapse)Author
2002-02-08required piece to compile the libMichael Shalayeff
2002-01-28fix after fgsPeter Valchev
2002-01-28correct function name.Federico G. Schwindt
2002-01-28sem_XXX(3) manpages; better now that never.Federico G. Schwindt
From FreeBSD.
2002-01-24remove old style init used by mips. uses _thread_init_constructor nowPer Fogelstrom
2002-01-23From FreeBSD:Federico G. Schwindt
o Use _get_curthread() instead of _thread_run. o Correctly deal with cancellations. o Add libc internal versions of pthread_mutex_lock() and pthread_mutex_trylock(), unused by now.
2002-01-19Instead of ifdef around ENOTSUP, move it to pthread_private.h and makeFederico G. Schwindt
it EOPNOTSUPP.
2002-01-19From FreeBSD: correct priority handling.Federico G. Schwindt
2002-01-18From FreeBSD: sem_XXX implementation; manpages comming in a bit.Federico G. Schwindt
2002-01-18tab vs. spacesFederico G. Schwindt
2002-01-18while im here, move the ifndef _SCHED_H_ after the copyright message.Federico G. Schwindt
2002-01-18From FreeBSD: header for POSIX 1003.1b semaphores.Federico G. Schwindt
2002-01-17when alloc'ing the ready queue, make it big enough.Federico G. Schwindt
2002-01-17remove duplicated Id tag; spotted by miod@.Federico G. Schwindt
2002-01-14Do not create sys_aliases.c for elf systems; tested at some extentFederico G. Schwindt
by art@ and drahn@.
2002-01-10Change 1st arg in pthread_attr_getdetachstate to const.Federico G. Schwindt
2002-01-10From FreeBSD: fix conversion from msec to timespec.Federico G. Schwindt
2002-01-04Let's start by making the stack pointer 64 bit and nobody will get hurt.Artur Grabowski
2002-01-04comment out the pending signals check by now; it was not suppose to beFederico G. Schwindt
there yet.
2002-01-02correct fram size.Artur Grabowski
pointed out by marc@
2002-01-02fp and pc are 64 bit.Artur Grabowski
And just to make things more fun -1, is not a misaligned stack on sparc64.
2002-01-02fp and pc are 64 bit.Artur Grabowski
2002-01-02fpathconf(2) returns long.Federico G. Schwindt
2001-12-31More changes from FreeBSD, including:Federico G. Schwindt
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.
2001-12-30call pthread_sigmask() instead of having the code twice.Federico G. Schwindt
2001-12-20From FreeBSD:Federico G. Schwindt
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.
2001-12-20sync with freebsd.Federico G. Schwindt
2001-12-19More sync.Federico G. Schwindt
2001-12-18sigh, do it right.Federico G. Schwindt
2001-12-18Fix func decl. in comment.Federico G. Schwindt
2001-12-18Allow the scheduler to return to the signal handler and the signalMarco S Hyman
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
2001-12-18Software invoked traps should use the ST_ versions of the trap numberMarco S Hyman
with the high bit of the trap number stripped per the V8 arch manual. The stack alignment code was broken. It tried to align to a 32 byte boundary (only 8 byte boundary is required) by first adding 15 bytes then masking. It could have aligned down. The minimum frame size was twice the size needed by allocating 8 bytes per saved value instead of the needed 4. This bug offset the bug in the stack alignment code.
2001-12-11More sync with freebsd code; join related code this time.Federico G. Schwindt
2001-12-08sync with freebsd.Federico G. Schwindt
2001-12-08Partially sync with FreeBSD; mostly pthread_cancel(3) related changes.Federico G. Schwindt
make includes is needed in case you want to play.
2001-12-07o point pthread_setcancel(type|state) manpages where they belong.Federico G. Schwindt
o remove functions from pthread_cancel(3).
2001-11-12a better fix for recursive mutex.Federico G. Schwindt
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.