cosmopolitan/test
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
..
ctl Strongly link glob() into system() and popen() 2024-11-15 20:37:34 -08:00
dsp Upgrade pl_mpeg 2024-09-06 19:10:34 -07:00
libc Make threads faster and more reliable 2024-12-21 22:13:00 -08:00
libcxx Release Cosmopolitan v3.8.0 2024-08-30 20:14:07 -07:00
math Share file offset across processes 2024-08-03 01:39:11 -07:00
net Make redbean Fetch() support longer responses 2024-10-12 15:59:46 -07:00
posix Make threads faster and more reliable 2024-12-21 22:13:00 -08:00
tool Improve Windows sleep accuracy from 15ms to 15µs 2024-12-06 23:03:57 -08:00
BUILD.mk Introduce Cosmopolitan Templates Library (CTL) 2024-06-03 09:21:59 -07:00