CVSROOT: /cvs Module name: src Changes by: [email protected] 2025/11/11 11:54:05
Modified files:
include : pthread.h
Log message:
bump PTHREAD_KEYS_MAX to 512
the rust libstd emutls version is using one pthread_key per thread-variable. it
means the maximum number of thread-variable at a time is PTHREAD_KEYS_MAX.
with recent rustc 1.91.0, we start hiting the limit while compiling some
programs (like sysutils/rustic).
ok robert@
"Let's go 512 and hope someone eventually does proper TLS" deraadt@
