cosmopolitan/test/libc
Justine Tunney 624573207e
Make threads faster and more reliable
This change doubles the performance of thread spawning. That's thanks to
our new stack manager, which allows us to avoid zeroing stacks. It gives
us 15µs spawns rather than 30µs spawns on Linux. Also, pthread_exit() is
faster now, since it doesn't need to acquire the pthread GIL. On NetBSD,
that helps us avoid allocating too many semaphores. Even if that happens
we're now able to survive semaphores running out and even memory running
out, when allocating *NSYNC waiter objects. I found a lot more rare bugs
in the POSIX threads runtime that could cause things to crash, if you've
got dozens of threads all spawning and joining dozens of threads. I want
cosmo to be world class production worthy for 2025 so happy holidays all
2024-12-21 22:13:00 -08:00
..
calls Eliminate cyclic locks in runtime 2024-12-16 22:25:12 -08:00
fmt Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
intrin Eliminate cyclic locks in runtime 2024-12-16 22:25:12 -08:00
log Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
mem Eliminate cyclic locks in runtime 2024-12-16 22:25:12 -08:00
nexgen32e Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
proc Strongly link glob() into system() and popen() 2024-11-15 20:37:34 -08:00
runtime Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
sock Rewrite Windows connect() 2024-09-12 23:07:52 -07:00
stdio Fix MODE=tiny build 2024-12-17 01:36:29 -08:00
str Make strcasestr() faster 2024-12-12 22:50:20 -08:00
system Make threads faster and more reliable 2024-12-21 22:13:00 -08:00
thread Make threads faster and more reliable 2024-12-21 22:13:00 -08:00
time Update Musl Libc code 2024-07-30 22:51:29 -07:00
tinymath Release Cosmopolitan v3.8.0 2024-08-30 20:14:07 -07:00
x Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
xed Remove .internal from more header filenames 2024-08-04 12:52:25 -07:00
BUILD.mk Upgrade to 2022-era LLVM LIBCXX 2024-05-27 02:12:27 -07:00