freebsd-skq/lib/libc
Alex Richardson 85425bdc5a resolv_test: Fix racy exit check, remove mutexes, and reduce output
Instead of polling nleft[i] (without appropriate memory barriers!) and
using sleep() to detect the exit just call pthread_join() on all threads.

Also replace the use of a mutex that guarding the increments with atomic
fetch_add. This should reduce the runtime of this test on SMP systems.

Finally, remove all the debug printfs unless DEBUG_OUTPUT is set in
the environment.

Test Plan:	still fails sometimes on qemu (but maybe less often?)
Reviewed By:	jhb
Differential Revision: https://reviews.freebsd.org/D29390
2021-03-30 15:00:18 +01:00
..
aarch64
amd64 amd64: import asm strlen into libc 2021-02-23 00:09:55 +00:00
arm Remove obsolete code gated on _ARM_ARCH_* 2021-01-28 10:41:45 +00:00
capability Fix a few mandoc issues 2020-10-09 19:12:44 +00:00
compat-43 Adjust history, info source from v1's manuals 2019-09-04 13:44:46 +00:00
db Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
gdtoa Remove sparc64 specific parts of libc. 2020-02-26 18:55:09 +00:00
gen libc: Some enhancements to syslog(3) 2021-03-23 12:49:58 -04:00
gmon
i386 remove obsolete i386 MD memchr implementation 2019-09-25 16:49:22 +00:00
iconv Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
include libthr: wrap pdfork(2), same as fork(2). 2021-01-11 22:59:52 +02:00
inet
isc
locale Remove __NO_TLS. 2021-02-23 20:08:10 +02:00
md
mips mips: fix some mcount nits 2019-09-02 01:55:55 +00:00
nameser Bounds check again after advancing cp, otherwise we have a possible 2019-09-05 19:35:30 +00:00
net lib/libc/net/nsdispatch.c: Fix missing unlock and add locking annotations 2021-03-25 11:22:10 +00:00
nls Implement strerror_l(). 2020-12-16 09:02:09 +00:00
posix1e Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
powerpc [PowerPC] [PowerPCSPE] Fix multiple issues in fpsetmask(). 2021-02-28 21:11:29 -06:00
powerpc64 [PowerPC64] Port optimized strcpy to PPC64LE 2021-03-25 13:20:12 -03:00
powerpcspe [PowerPC] [PowerPCSPE] Fix multiple issues in fpsetmask(). 2021-02-28 21:11:29 -06:00
quad Add casts and L suffixes to libc quad support, to work around various 2020-02-17 20:14:59 +00:00
regex libc: regex: rework unsafe pointer arithmetic 2021-01-08 13:58:35 -06:00
resolv Rather than using the legacy IP struct fields in the union for the 2019-06-04 20:53:35 +00:00
riscv riscv: Fix whitespace issues in fabs added in 524b018d20 2021-03-01 15:19:36 +00:00
rpc libc: fix buffer overrun in getrpcport(3) 2021-01-31 21:42:02 +00:00
secure Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
softfloat
stdio libc: try to skip memcpy in _gettemp 2021-01-24 11:06:36 +00:00
stdlib libc/qsort: Don't allow interposing recursive calls 2021-02-18 14:02:48 +00:00
stdtime
string libc: Use musl's optimized strchr and strchrnul 2021-03-01 21:09:59 -05:00
sys mq_open(2): Fix xref to mq_unlink(2) 2021-03-04 13:32:42 +01:00
tests resolv_test: Fix racy exit check, remove mutexes, and reduce output 2021-03-30 15:00:18 +01:00
uuid
x86 x86: switch vdso TSC timecounter to RDTSCP on AMD Zen CPUs 2021-01-21 14:55:31 +02:00
xdr typo: s/impelmentation/implementation/. 2020-02-07 15:14:29 +00:00
yp Increase the size of the send and receive buffers for YP client rpc 2019-09-16 06:42:01 +00:00
libc_nossp.ldscript
libc.ldscript
Makefile [PowerPC64LE] Use a shared LIBC_ARCH for powerpc64le. 2020-09-23 00:21:51 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Update libssp paths in various Makefile.depend* files 2020-01-06 18:15:55 +00:00
Versions.def