freebsd-nq/lib/libthr/thread
Pedro F. Giffuni 1c9158aabe libthr: check for possible overflow in the pthread_barrier_init() count.
Following up on r320900, where the check for negative count values was
removed, add a check to prevent integer overflow. This is to account that
b_count, b_waiters but most importantly the total number of threads in
the system are signed values.

Discussed with:	kib
MFC after:	2 weeks
2017-07-15 15:00:13 +00:00
..
Makefile.inc
thr_affinity.c
thr_attr.c libthr: fix warnings at WARNS=6 2017-05-19 13:04:05 +00:00
thr_autoinit.c
thr_barrier.c libthr: check for possible overflow in the pthread_barrier_init() count. 2017-07-15 15:00:13 +00:00
thr_barrierattr.c
thr_cancel.c
thr_clean.c
thr_concurrency.c
thr_cond.c Do not leak curthread->inact_mtx when cancelling in pthread_cond_wait(3). 2016-12-06 17:13:17 +00:00
thr_condattr.c
thr_create.c
thr_ctrdtr.c
thr_detach.c
thr_equal.c
thr_event.c
thr_exit.c libthr: fix warnings from GCC when WARNS=6 2017-05-23 16:12:50 +00:00
thr_fork.c
thr_getcpuclockid.c
thr_getprio.c
thr_getschedparam.c
thr_getthreadid_np.c
thr_info.c
thr_init.c Remove old spinlock_debug code from libc 2017-05-20 17:32:01 +00:00
thr_join.c
thr_kern.c libthr: fix warnings from GCC when WARNS=6 2017-05-23 16:12:50 +00:00
thr_kill.c
thr_list.c libthr: fix warnings from GCC when WARNS=6 2017-05-23 16:12:50 +00:00
thr_main_np.c
thr_multi_np.c
thr_mutex.c libthr: fix warnings from GCC when WARNS=6 2017-05-23 16:12:50 +00:00
thr_mutexattr.c
thr_once.c Remove empty initializer for the once facility. It was not needed 2016-07-27 15:14:11 +00:00
thr_printf.c libthr: _thread_vprintf: Enhance support for %p, %#x 2016-06-01 16:11:09 +00:00
thr_private.h libthr: fix warnings at WARNS=6 2017-05-26 15:56:28 +00:00
thr_pshared.c
thr_pspinlock.c
thr_resume_np.c
thr_rtld.c
thr_rwlock.c libthr: change CHECK_AND_INIT_RWLOCK to an inline function 2017-05-20 17:30:48 +00:00
thr_rwlockattr.c
thr_self.c
thr_sem.c
thr_setprio.c
thr_setschedparam.c
thr_sig.c libthr: fix style in previous commit 2017-05-26 15:53:27 +00:00
thr_single_np.c
thr_sleepq.c
thr_spec.c libthr: fix warnings at WARNS=6 2017-05-19 13:04:05 +00:00
thr_spinlock.c Remove old spinlock_debug code from libc 2017-05-20 17:32:01 +00:00
thr_stack.c libthr: Use CLI flags instead of pragmas to disable warnings 2017-05-20 17:33:47 +00:00
thr_suspend_np.c
thr_switch_np.c
thr_symbols.c libthr: Use CLI flags instead of pragmas to disable warnings 2017-05-20 17:33:47 +00:00
thr_syscalls.c Add clock_nanosleep() 2017-03-19 00:51:12 +00:00
thr_umtx.c libthr: fix warnings at WARNS=6 2017-05-19 13:04:05 +00:00
thr_umtx.h libthr: fix warnings at WARNS=6 2017-05-19 13:04:05 +00:00
thr_yield.c