summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread
AgeCommit message (Expand)Author
2008-04-24Return the proper values upon failure per POSIX for pthread_sigmask(3) andKurt Miller
2008-04-04- do not call pthread_atfork(3) handlers when a multithreaded programKurt Miller
2008-03-23Use fileno() instead of peeking into FILE *; Paul StoeberTheo de Raadt
2008-02-02Relocate internal pipe file descriptor if newfd collides with it. FixesKurt Miller
2008-01-01- make arc4random*() functions thread safe. Use a custom spinlock functionKurt Miller
2007-11-20make pthread vfork() not call fork(), but actually call vfork(). ourTheo de Raadt
2007-07-20Initialize the locks in key_table. On hppa _SPINLOCK_LOCKED is 0, so anMark Kettenis
2007-07-08Report the correct stack size and top for the primordial thread inKurt Miller
2007-06-05_FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, soKurt Miller
2007-05-21clean up lint warnings related to the nfds_t type. okay marc@ millert@Kurt Miller
2007-05-18Eliminate many lint warnings by either: using the appropriate type,Kurt Miller
2007-05-01lint warning corrections:Kurt Miller
2007-05-01file descriptors are ints. make branch an int too for better structureKurt Miller
2007-04-27more lint warning reductions. use int for all priority vars. okay marc@Kurt Miller
2007-04-27fix minor nit with previous commitKurt Miller
2007-04-27fix thread_continuation_t typedef and use passed curthread instead ofKurt Miller
2007-04-27Remove unused function _thread_fd_unlock_owned() andKurt Miller
2007-04-27Use rlimit nofiles max to size fd/fdp tables instead of cur. FixesKurt Miller
2007-04-26remove unused var. okay marc@Kurt Miller
2007-04-10Revert previous commit which introduced regressions in KDE.Kurt Miller
2007-04-07Upon fork() set the child's view of the stored file status flags inheritedKurt Miller
2007-03-20Remove duplicate definition of _POSIX_THREAD_ATTR_STACKSIZE and quietKurt Miller
2007-01-28Return ESRCH instead of segfaulting when a thread ID could not be found.Mark Kettenis
2006-12-01Normally pipes created by threaded apps are left non-blocking after beingKurt Miller
2006-10-25select() and poll() don't _FD_LOCK their file descriptors, so there's noKurt Miller
2006-10-17Don't grab _FD_LOCK and queue up behind other threads asKurt Miller
2006-10-03Last Part of file descriptor race and deadlock corrections.Kurt Miller
2006-10-03upon success dup2() returns newfd so don't overwrite it withKurt Miller
2006-09-26style(9) extra spaceKurt Miller
2006-09-26- Use mmap to allocate thread stacks instead of malloc. This preventsKurt Miller
2006-09-26Part 2 of file descriptor race and deadlock corrections.Kurt Miller
2006-09-23fix a bug where the logic was reversedKurt Miller
2006-09-22Part 1 of file descriptor race and deadlock corrections.Kurt Miller
2006-04-09Change a debug interface to take const char pointers so we don't aveKenneth R Westerback
2006-04-02malloc(x * y) -> calloc(x, y) from adobriyan AT gmail.com, with tweaksDamien Miller
2006-03-06Add _thread_atexit_lock and _thread_atexit_unlock to the list ofOtto Moerbeek
2006-02-16cap seconds to 100 million per man page and kernel nanosleep impl.Kurt Miller
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
2005-10-31- Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution.Brad Smith
2005-10-30Add pthread_atfork(3)Brad Smith
2005-10-30Don't use TAILQ_NEXT() on an element that has been removed. Similar toKenneth R Westerback
2005-10-29Don't use TAILQ_NEXT() on an element that has been removed. Similar toKenneth R Westerback
2005-10-14Use queue macros instead of directly accessing fields. ok marc@ miod@Otto Moerbeek
2005-01-28Grab the current time before calculating thread wake-up time.Marco S Hyman
2005-01-23Add debug support.Mark Kettenis
2004-12-12Avoid using void pointers in additive expressionsBrad Smith
2004-11-30* make sure we leave the thread's cancellation point before we returnPatrick Latifi
2004-09-18Allow thread in FD{R,W}_WAIT states to be suspended.Marco S Hyman
2004-06-07major bump to libc and libpthread to break the dependency of aMarco S Hyman