summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2005-11-30Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a timeOtto Moerbeek
and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@
2005-11-29if we pull in a .S file, we must fake out the lint with a .c fileTheo de Raadt
for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS
2005-11-29Provide stubs for things which are supplied by crt0. I don't think weTheo de Raadt
want a crt0.ln, at least, not yet. We may reconsider later.
2005-11-29document KERN_ARND better; ok deraadt@Otto Moerbeek
2005-11-28spaces, and a off_t typecast to please lintTheo de Raadt
2005-11-28some nice off_t casts to please lintTheo de Raadt
2005-11-28unused arg in internal static APITheo de Raadt
2005-11-28ARGSUSED stubsTheo de Raadt
2005-11-28make Lint prototypes equal; ok millertTheo de Raadt