Make POSIX threads improvements

- Ensure SIGTHR isn't blocked in newly created threads
- Use TIB rather than thread_local for thread atexits
- Make POSIX thread keys atomic within thread
- Don't bother logging prctl() to --strace
- Log thread destructor names to --strace
This commit is contained in:
Justine Tunney 2024-06-30 15:38:59 -07:00
parent 387310c659
commit 76957983cf
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
11 changed files with 57 additions and 71 deletions

View file

@ -20,9 +20,9 @@
#include "ctl/array.h"
#include "libc/mem/leaks.h"
#include <algorithm>
#include <array>
#define ctl std
// #include <algorithm>
// #include <array>
// #define ctl std
int
main()