mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 10:10:06 +00:00
Document the current default stack sizes on different systems
The default stack sizes varies between operating systems and between different system libc libraries from 128kB (Alpine Linux with MUSL) to 8M (Linux with glibc). Document the different values used to justify the value of THREAD_MINSTACKSIZE (currently set to 1MB).
This commit is contained in:
parent
96dad96ae5
commit
f23bdc29ef
@ -17,6 +17,14 @@
|
||||
|
||||
/*! \file */
|
||||
|
||||
/*
|
||||
* The current default stack sizes are as follows:
|
||||
* - Linux glibc: 8MB
|
||||
* - Linux musl: 128kB
|
||||
* - FreeBSD: 2MB
|
||||
* - OpenBSD: 512kB
|
||||
* - NetBSD: 4MB
|
||||
*/
|
||||
#ifndef THREAD_MINSTACKSIZE
|
||||
#define THREAD_MINSTACKSIZE (1U * 1024 * 1024)
|
||||
#endif /* ifndef THREAD_MINSTACKSIZE */
|
||||
|
Loading…
x
Reference in New Issue
Block a user