cosmopolitan/test/libc/intrin
Justine Tunney 7ff0ea8c13
Make pthread mutexes more scalable
pthread_mutex_lock() now uses a better algorithm which goes much faster
in multithreaded environments that have lock contention. This comes at
the cost of adding some fixed-cost overhead to mutex invocations. That
doesn't matter for Cosmopolitan because our core libraries all encode
locking operations as NOP instructions when in single-threaded mode.
Overhead only applies starting the moment you first call clone().
2022-09-05 15:57:51 -07:00
..
asan_test.c Make more fixes and improvements 2022-06-13 11:02:13 -07:00
bextra_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
bitreverse_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
countbits_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
describeflags_test.c Clean up some code 2022-08-20 12:32:51 -07:00
describesigset_test.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
division_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
dos2errno_test.c Polish recent changes and make improvements 2022-03-19 03:37:00 -07:00
formatint32_test.c Use Lua auto buffers when possible 2022-05-29 19:04:30 -07:00
getenv_test.c Restart CI for New Technology and UBSAN hunting 2022-03-21 04:32:57 -07:00
integralarithmetic_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
intrin_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
kprintf_test.c Clean up some code 2022-08-20 12:32:51 -07:00
memcmp_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
memmove_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
memset_test.c Add more missing C / C++ headers 2022-09-04 04:53:52 -07:00
morton_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
palignr_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
pmulhrsw_test.c Remove undefined behaviors 2021-05-16 11:16:28 -07:00
popcnt_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
pshuf_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
pthread_barrier_wait_test.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_cond_broadcast_test.c Disable pthread broadcast test temporarily 2022-09-05 09:06:16 -07:00
pthread_mutex_lock2_test.c Make pthread mutexes more scalable 2022-09-05 15:57:51 -07:00
pthread_mutex_lock_test.c Make pthread mutexes more scalable 2022-09-05 15:57:51 -07:00
pthread_once_test.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
pthread_rwlock_rdlock_test.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
rand64_test.c Implement POSIX threads API 2022-09-05 08:27:15 -07:00
rounddown2pow_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
roundup2log_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
roundup2pow_test.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
sched_yield_test.c Improve system calls 2022-07-08 06:42:03 -07:00
strlen_test.c Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
strsignal_test.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
test.mk Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00