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
jcs
27 files
Makefile
Oops! Two files missing from pthread gmon diff: This thread-aware profiling support diff comes from Yuichiro NAITO. At runtime, profiling data is stored per-thread. Upon termination, the per-thread profiling data pools are merged into a into a single record, which is then written out (using the new kernel-assisted system). I think the original gmon merging parts may have come from or been inspired by someone at NetBSD. This has been delayed because there were concerns about adding a TLS object which would require other library cranks, so this rides all the major cranks today. ok kettenis tb claudio sthen etc etc etc
8 months 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
Oops! Two files missing from pthread gmon diff: This thread-aware profiling support diff comes from Yuichiro NAITO. At runtime, profiling data is stored per-thread. Upon termination, the per-thread profiling data pools are merged into a into a single record, which is then written out (using the new kernel-assisted system). I think the original gmon merging parts may have come from or been inspired by someone at NetBSD. This has been delayed because there were concerns about adding a TLS object which would require other library cranks, so this rides all the major cranks today. ok kettenis tb claudio sthen etc etc etc
8 months 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
Ensure that we always return a null terminated string if the user passed us a name buffer smaller than the thread name.
4 months 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
Contrary to what a previous commit says, these files *do* need sys/param.h. Unbreaks libpthread on hppa.
5 months 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 libc and lib[rp]thread minors
4 months ago
synch.h
libc, librthread: _twait: subtraction is not comparison
2 years ago