summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
2011-11-27Set the initfirst and nodelete flags on the shared library, in anticipationPhilip Guenthe
2011-11-09Add the __cerror asm bits for per-thread errno support for powerpc.Mark Kettenis
2011-11-09Oh yeah, with TLS-lite we can get the thread handle without walking thePhilip Guenthe
2011-11-08Add the __cerror asm bits for per-thread errno support for hppa.Mark Kettenis
2011-11-08Include <stddef.h> to make sure offsetof() is defined.Mark Kettenis
2011-11-06Copy support for sched_get_priority_{min,max} from libpthread.Philip Guenthe
2011-11-06Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includesPhilip Guenthe
2011-10-19Remove some blatant lies. Provide a variant 1 archs with a defaultPhilip Guenthe
2011-10-17Use __tfork, __get_tcb, and __set_tcb to have a real TCB and per-threadPhilip Guenthe
2011-10-13Deal with the horror that is gcc asm constraints by copying thePhilip Guenthe
2011-10-13Increase the stack offset for the new rthread from (BIAS+128) toPhilip Guenthe
2011-10-13Convert rfork_thread() from int$80 to syscall.Philip Guenthe
2011-09-22Return the correct errno (EBUSY) when pthread_mutex_trylock() isPhilip Guenthe
2011-07-05fix a few bugs in the thread specific data functionsTed Unangst
2010-12-03Sync with amd64, to allow this to compile without warnings with gcc4:Miod Vallat
2010-05-26If the stack size attribute isn't larger than the guard-page sizePhilip Guenthe
2010-04-12New functions: bump the minorPhilip Guenthe
2010-04-12Add pthread_rwlock_timed{rd,wr}lock().Philip Guenthe
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
2009-11-28This might not be necessary, but Just In Case: since the underlyingPhilip Guenthe
2009-11-27Convert thrsleep() to an absolute timeout with clockid to eliminate aPhilip Guenthe
2009-11-27Convert thrsigdivert to (almost) be sigtimedwait by adding siginfo_tPhilip Guenthe
2009-11-27Change threxit() to take a pointer to a pid_t to zero out from thePhilip Guenthe
2009-11-19pthread_rwlock_wrlock() should increment the count of writers justPhilip Guenthe
2009-10-27- bump the majors of libpthread and librthread, as they used to return anJasper Lievisse Adriaanse
2009-10-21Add f*lockfile() routines to librthreadPhilip Guenthe
2009-10-21After forking, the child is single threaded, so tell libc that. ThisPhilip Guenthe
2009-09-27rfork_thread() lacked PIC handling for CERROR, resulting in a text relocationPhilip Guenthe
2009-09-24rfork_thread() lacked PIC handling for CERROR, resulting in a text relocationPhilip Guenthe
2009-06-01A much better atomic lock routine.Miod Vallat
2009-06-01Correct the _atomic_lock() asm so that gcc accepts the constraintsPhilip Guenthe
2009-04-21Increase default thread stack size to 256K on 32bit archs and 512K onKurt Miller
2009-02-20thrsigdivert() takes a sigset_t, not a pointer to one. Detected byPhilip Guenthe
2009-02-20apparently all the other libraries get linted, so I'll just have to live with itTed Unangst
2009-02-20Fix a race in the reaper discovered by Tobias Ulmer. kevents are identified ...Ted Unangst
2009-02-20the lint warnings are more annoying than anything else. we already have a fu...Ted Unangst
2009-02-15these are public domain, verified with author; spotted by jjTheo de Raadt
2008-10-13use calloc() instead of malloc() and memset()Kevin Lo
2008-10-03Make sigwait() work correctly. In particular, it'll work when thePhilip Guenthe
2008-10-02the license on this is PD; david leonard says soTheo de Raadt
2008-10-01Assert my copyright on files I gave to d@ back in 1998.Dale Rahn
2008-08-14Match libpthread's behavior and make pthread_join(NULL, whatever) failPhilip Guenthe
2008-08-14Fix 5771/library: in pthread_exit(), delay the call to _sem_post() thatPhilip Guenthe
2008-08-14If the initial thread calls pthread_exit(), don't overwrite its threadPhilip Guenthe
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-13remove _MALLOC_LOCK_INIT; major bump; ok deraadt@Otto Moerbeek
2008-06-05- Add fork/vfork wrapper functions to reset state in the child process.Kurt Miller
2008-05-21Use _C_LABEL when appropriate.Miod Vallat
2008-04-24Return the proper values upon failure per POSIX for pthread_sigmask(3) andKurt Miller
2008-02-22fix rwlocks to work with the "initialized" form, from Philip GuentherTed Unangst