summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread
AgeCommit message (Expand)Author
2010-07-13Fix PR 6417: if we're starting a thread and there's no other threadsPhilip Guenthe
2010-07-13Fix PR 6376: restore more thread library state if execve fails,Philip Guenthe
2010-07-12After forking, clear the 'thread joining this one' pointer in the child,Philip Guenthe
2010-06-27Instead of (manually) closing the _thread_kern_pipe before callingPhilip Guenthe
2010-04-12Add support for pthread_rwlock_timed locks.Ted Unangst
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
2010-01-03Make SO_RCVTIMEO and SO_SNDTIMEO work with pthreads. Fixes at least some ofFederico G. Schwindt
2009-12-06Make internal file descriptor handling async-signal safe by eliminatingKurt Miller
2009-11-09Fix the handle locking in stdio to use flockfile/funlockfileKurt Miller
2009-10-28Remove mutext from list of held mutexes in _mutex_reinit(). CorrectsKurt Miller
2009-10-27define ENOTSUP EOPNOTSUPP is no longer neededTheo de Raadt
2009-10-22Back out previous commit, as it caused too much growth for the installPhilip Guenthe
2009-10-21Change libpthread's f*lockfile() routines to stop acting as no-opsPhilip Guenthe
2009-10-21After forking, the child is single threaded, so tell libc that. ThisPhilip Guenthe
2009-07-25- add a symbol to help gdb location pthread internals (_thread_ctx_offset)Kurt Miller
2009-04-21Increase default thread stack size to 256K on 32bit archs and 512K onKurt Miller
2009-04-11honor MSG_DONTWAITJacob Meuser
2008-12-18Add pthread_attr_[sg]etguardsize() to match rthread, including manpagesPhilip Guenthe
2008-10-02Fix PR #5942: preserve errno across fd flag updates, so that successfulTheo de Raadt
2008-10-02the license on this is PD; david leonard says soTheo de Raadt
2008-07-07Application-specified thread stacks didn't work with libpthreadPhilip Guenthe
2008-06-20Adjust the _SEM_CHECK_VALIDITY macro to detect NULL sem_t instead ofKurt Miller
2008-06-14zap last thread_malloc_init reference. otto@ okFederico G. Schwindt
2008-06-03Don't grab the fd read lock for getsockopt(2), setsockopt(2),Kurt Miller
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