summaryrefslogtreecommitdiff
path: root/hurd/porting/guidelines.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/porting/guidelines.mdwn')
-rw-r--r--hurd/porting/guidelines.mdwn8
1 files changed, 7 insertions, 1 deletions
diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn
index c4c864f7..66c6ae28 100644
--- a/hurd/porting/guidelines.mdwn
+++ b/hurd/porting/guidelines.mdwn
@@ -305,7 +305,13 @@ We could easily provide it;
## <a name="PTHREAD_STACK_MIN"> `PTHREAD_STACK_MIN` </a>
-We should actually provide it.
+We don't really have a minimum value. We could define it to 4096 (or ~16, which
+is our actual minimum), but most applications making use of `PTHREAD_STACK_MIN`
+would just crash with such a value.
+
+The application knows way better than the OS which stack size it needs and have
+its own hint about the stack size, and thus use `PTHREAD_STACK_MIN` only as a
+minimum, not as a hint.
## <a name="types"> `linux/types.h` or `asm/types.h` </a>