Increase PTHREAD_KEYS_MAX from 256 to 512
Current values from other systems: - Linux/glibc: 1024 - OpenBSD: 512 - FreeBSD and NetBSD: 256 256 keys causes a problem with the Rust compiler running out of TLS keys See: https://github.com/haikuports/haikuports/issues/14042 See: https://github.com/rust-lang/rust/issues/155758 Change-Id: I932a7fc8508c4ab7d93d2ef610d9746134df779b Reviewed-on: https://review.haiku-os.org/c/haiku/+/10976 Tested-by: Commit checker robot <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
600d6fe7fc
commit
36aa36d060
@@ -44,7 +44,7 @@
|
||||
#define PATH_MAX (1024)
|
||||
#define PIPE_BUF (4 * 1024)
|
||||
#define PIPE_MAX (512)
|
||||
#define PTHREAD_KEYS_MAX (256)
|
||||
#define PTHREAD_KEYS_MAX (512)
|
||||
#define PTHREAD_STACK_MIN (2 * PAGESIZE)
|
||||
#define PTHREAD_DESTRUCTOR_ITERATIONS (4)
|
||||
#define SSIZE_MAX __HAIKU_SADDR_MAX
|
||||
|
||||
Reference in New Issue
Block a user