cosmopolitan/test/libc
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
..
bits Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
calls Discard ignored signals on New Technology (#592) 2022-09-05 09:17:56 -07:00
dns Fold LIBC_RAND into LIBC_STDIO/TINYMATH/INTRIN 2022-08-11 12:32:00 -07:00
fmt Remove testonly keyword 2022-09-05 08:41:43 -07:00
intrin Make pthread mutexes more scalable 2022-09-05 15:57:51 -07:00
log Clean up some code 2022-08-20 12:32:51 -07:00
mem Remove testonly keyword 2022-09-05 08:41:43 -07:00
nexgen32e Do some string library work 2022-08-20 22:17:14 -07:00
release Remove warnings from amalgamation header 2022-08-18 18:16:53 -07:00
runtime Remove accidental comment 2022-09-04 00:41:09 -07:00
sock Fix inet_ntop(AF_INET6) buffer length (#582) 2022-09-03 22:46:45 -07:00
stdio Improve zipos path handling (#579) 2022-09-03 22:50:23 -07:00
str Remove testonly keyword 2022-09-05 08:41:43 -07:00
thread Implement POSIX threads API 2022-09-05 08:27:15 -07:00
time Remove testonly keyword 2022-09-05 08:41:43 -07:00
tinymath Add automatic TMPDIR setup/teardown to GNU Make 2022-08-14 02:03:41 -07:00
x Do some string library work 2022-08-20 22:17:14 -07:00
xed Remove testonly keyword 2022-09-05 08:41:43 -07:00
test.mk Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00