summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-12-19Fix hppa ldcw alignment issue.Marco Peereboom
Help deraadt, tedu, kettenis Ok tedu, kettenis
2005-12-19Missing piece from previous commitTodd C. Miller
2005-12-19Add %hhd to *printf and *scanf as well as %z to *scanf. This wasTodd C. Miller
sent out and approved about 6 months ago and has been rotting in my tree ever since.
2005-12-19Use strlcpy() return value in bound check instead of using anTodd C. Miller
extra strlen(). This has been in my tree for a long time.
2005-12-19Use __BSD_VISIBLE instead of _POSIX_SOURCE to avoid pullingTodd C. Miller
in most of machine/endian.h. OK espie@
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-17Document PT_STEP (better late than never), and group the machine-dependentMiod Vallat
request with a (fixed) list of arches for each; tweaks and ok jmc@ kettenis@
2005-12-17sure it is not perfect, but at least we can compile rthreads on hppa.Marco Peereboom
ok deraadt@
2005-12-16libresolv.a is no longer neededTheo de Raadt
2005-12-16boolshitMichael Shalayeff
2005-12-16clarify sentence; cannot reuse a stream socket after even trying to do a ↵Theo de Raadt
connect; spotted by tedu
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-13Remove the advertising clause in the UCB license which BerkeleyJonathan Gray
rescinded 22 July 1999. Checked by ian@ and deraadt@
2005-12-10because lint says so; ok espieTheo de Raadt
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
2005-12-02make write-end of signal socketpair non-blocking.Theo de Raadt
every signal received writes 1 byte to the socketpair. if you are outside the libevent main loop too long, the socketpair might fill up. that write would then block, in a signal handler. related to this, yesterdy we changed the signal handler to not trash errno. as for the read end, there will be multiple libevent reads off the socketpair (100 bytes at a time) until the socketpair is empty again ok provos
2005-12-02pollops should be constTheo de Raadt
2005-12-02lookup out of evsigcaught[] must be sig_atomic_t tooTheo de Raadt
2005-12-02never say unsigned; say at least unsigned intTheo de Raadt
2005-12-01save errno in signal handler since it does a system callTheo de Raadt
only access sig_atomic_t variables, to make it further save ok aaron
2005-11-30know __arm__ tooTheo de Raadt
2005-11-30timezone -> time zoneJason McIntyre