summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Collapse)Author
2005-12-21make alloc_stack take an optional base, preparation for stack attributesTed Unangst
deal with machines that have upside down stacks
2005-12-21check a few remaining mallocs for failure, along with mmap and rforkTed Unangst
started by miod
2005-12-19Fix hppa ldcw alignment issue.Marco Peereboom
Help deraadt, tedu, kettenis Ok tedu, kettenis
2005-12-19fix rev 1.9Brad Smith
pthread_concurrency -> pthread_setconcurrency
2005-12-19this file didn't exist in 2004, so copyright must be 2005Ted Unangst
2005-12-19update copyright to 2005Ted Unangst
2005-12-19add pthread_get/set_concurrency (useless for now)Ted Unangst
add pthread_get/set_stack[addr] (info not used yet)
2005-12-19sanity check for key_delete was missing !Ted Unangst
2005-12-18initialize all spinlocks to _SPINLOCK_UNLOCKEDTed Unangst
2005-12-17sure it is not perfect, but at least we can compile rthreads on hppa.Marco Peereboom
ok deraadt@
2005-12-16boolshitMichael Shalayeff
2005-12-14My email address changed quite a while ago...Dale Rahn
2005-12-14Initial versions of arm code, in-tree development (not yet working).Dale Rahn
2005-12-14Add locking primitive for hppa. ok kettenis@Marco Peereboom
2005-12-14all is made clear: pthread_cond_timedwait takes absolute timeoutsTed Unangst
2005-12-14add pthread_cleanup_push and pthread_cleanup_popTed Unangst
2005-12-14add pthread_kill (just kill(2) really)Ted Unangst
2005-12-14the beatings will continue until morale improvesTed Unangst
2005-12-14there should be a lock around the tls key tableTed Unangst
2005-12-14add bits for pthread_cancel. we don't really have cancellation points yetTed Unangst
but some of the functions are here now.
2005-12-14check for waiters when destroying a mutex or semaphoreTed Unangst
2005-12-14change keys to use table instead of list, makes a sane destructor implementationTed Unangst
possible
2005-12-13make the mutex unlock and sleep in pthread_cond_wait properly atomicTed Unangst
2005-12-13several silly bugs in pthread_cond_timedwait.Ted Unangst
1. the time was off by a factor of 10 2. wouldn't return error code if timeout was reached 3. the big one. thrsleep syscall doesn't return EWOULDBLOCK. it returns -1 and puts the error in errno. doh.
2005-12-13update thrsleep and thrwakeup - first arg changed from long to void *Ted Unangst
2005-12-13correct implementation of pthread_cond_signal. it doesn't raise the semTed Unangst
value if there are no waiters.
2005-12-07add the posix semaphore functions. this lets vlc work.Ted Unangst
ok brad
2005-12-07malloc the right size, and memset after mallocTed Unangst
2005-12-06add pthread_once. unfortunately, the public pthread.h headerTed Unangst
defines the pthread_once_t internals, so we're stuck with them.
2005-12-06can't build shared lib without shlib_versionTed Unangst
Maxim Bourmistrov noticed.
2005-12-04copy alpha atomic_lock implementation from libpthread.Brad Smith
2005-12-04add a powerpc implementation of rfork_thread().Brad Smith
From Tim Wiess <tim at nop dot cx> ok drahn@
2005-12-04copy powerpc atomic_lock implementation from libpthread.Brad Smith
ok drahn@
2005-12-03rcs for the makefileTed Unangst
2005-12-03syscall is actually sched_yield now, as millert suggestedTed Unangst
2005-12-03add userland thread library. incomplete, but functionalTed Unangst