summaryrefslogtreecommitdiff
path: root/lib/libpthread
AgeCommit message (Collapse)Author
2002-03-07ANSI'fy.Federico G. Schwindt
2002-03-07From FreeBSD:Federico G. Schwindt
Properly clear the status of a join operation if the joining thread is canceled or the joinee is detached.
2002-02-21account for the process signal mask when dealing with signals; testedFederico G. Schwindt
a while ago by marc@ and brad@
2002-02-21correct .Xr's.Federico G. Schwindt
2002-02-21Use .St for standards. Random cleanups as well.Federico G. Schwindt
2002-02-21When cleanup_routine is called... also use .St to reference standards.Federico G. Schwindt
2002-02-21Xr pthread_kill; from fries@Federico G. Schwindt
2002-02-20fix includes and some cleanup.Federico G. Schwindt
2002-02-20pthread_kill() manpage; from FreeBSD.Federico G. Schwindt
2002-02-19correct return values.Federico G. Schwindt
2002-02-19From FreeBSD:Federico G. Schwindt
Prevent dup2(2) from closing internal libc_r pipe descriptors.
2002-02-19fix this by now; .Rv prolly has to be removed.Federico G. Schwindt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
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).