tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
lib
/
librthread
/
at
fan
27 files
Makefile
Instead of opting in to futexes on archs with atomics opt out on archs without atomics, a smaller list.
6 years ago
Symbols.map
add a pthread_get_name_np to match pthread_set_name_np. could be useful in ports. initial diff by David Carlier some time ago. ok jca
7 years ago
namespace.h
Wrap <pthread.h> and <pthread_np.h> to eliminate PLT entries for internal references. Use _thread_pagesize for the semaphore mmap size instead of calling getpagesize() each time.
10 years ago
pthread.h
Revert recent changes to unbreak ports/net/samba
8 years ago
pthread_np.h
add a pthread_get_name_np to match pthread_set_name_np. could be useful in ports. initial diff by David Carlier some time ago. ok jca
7 years ago
rthread.c
spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;
3 years ago
rthread.h
New futex(2) based rwlock implementation based on the mutex code.
7 years ago
rthread_attr.c
syslog_r() expects a priority, not a faciliy. Use LOG_ERR for the pthread_attr_setstack() error message. OK deraadt@
8 years ago
rthread_barrier.c
Update my email address.
6 years ago
rthread_barrier_attr.c
Update my email address.
6 years ago
rthread_cb.h
Move mutex, condvar, and thread-specific data routes, pthread_once, and pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread.
8 years ago
rthread_fork.c
Prefer <elf.h> to the non portable <sys/exec_elf.h>.
8 years ago
rthread_getcpuclockid.c
Use a Thread Information Block in both single and multi-threaded programs. This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!
10 years ago
rthread_mutex_prio.c
Remove unintended statement from my copyright block
11 years ago
rthread_mutexattr.c
Use PTHREAD_MUTEX_DEFAULT in static init and mutexattr_init. If the default mutex type changes to NORMAL, when there is an uninitialized mutex provided to unlock, allow it to succeed similar to an unlocked mutex. For other cases abort instead of segfault. okay guenther@
14 years ago
rthread_np.c
Add {get,set}thrname(2) for putting thread names in the kernel and exposed in a new field returned by sysctl(KERN_PROC). Update pthread_{get,set}_name_np(3) to use the syscalls. Show them, when set, in ps -H and top -H output.
3 years ago
rthread_rwlock.c
Wake all waiters when unlocking an rwlock. This fixes a hang that could happen if there was more than one writer waiting for a read-locked rwlock.
7 years ago
rthread_rwlock_compat.c
librthread: validate timespec inputs with timespecisvalid(3)
3 years ago
rthread_rwlockattr.c
Add pthread_rwlockattr_{get,set}pshared() and pthread_mutexattr_{get,set}kind_np()
14 years ago
rthread_sched.c
Move mutex, condvar, and thread-specific data routes, pthread_once, and pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread.
8 years ago
rthread_sem.c
librthread: validate timespec inputs with timespecisvalid(3)
3 years ago
rthread_sem_compat.c
librthread: validate timespec inputs with timespecisvalid(3)
3 years ago
rthread_spin_lock.c
Update my email address.
6 years ago
rthread_stack.c
these files do not need sys/param.h
4 years ago
sched_prio.c
Copy support for sched_get_priority_{min,max} from libpthread. Requested by many to ease substitution of librthread for libpthread
14 years ago
shlib_version
bump major after syscall removal
3 years ago
synch.h
Save and restore errno around FUTEX_WAIT futex(2) operations. While there remove the unused _wait() function in librthread such that we don't have to add the save/restore sequence there.
4 years ago