cosmopolitan/test
Justine Tunney 29eb7e67bb
Fix fork() regression on Windows
Recent optimizations to fork() introduced a regression, that could cause
the subprocess to fail unexpectedly, when TlsAlloc() returns a different
index. This is because we were burning the indexes into the displacement
of x86 opcodes. So when fork() happened and the executable memory copied
it would use the old index. Right now the way this is being solved is to
not copy the executable on fork() and then re-apply code changes. If you
need to be able to preserve self-modified code on fork, reach out and we
can implement a better solution for you. This gets us unblocked quickly.
2025-01-05 09:25:23 -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 Fix fork() regression on Windows 2025-01-05 09:25:23 -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 Fix ordering of pthread_create(pthread_t *thread) 2025-01-03 17:34:29 -08:00
tool Write more runtime tests and fix bugs 2025-01-01 22:25:22 -08:00
BUILD.mk Introduce Cosmopolitan Templates Library (CTL) 2024-06-03 09:21:59 -07:00