summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-07-08 20:45:56 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-07-08 20:45:56 +0200
commitf42e3ba3cb16bd892957f3b018e2d8ae1e06d022 (patch)
tree13e9836a04ebea1ab3a8116805700aa73f09fbce
parentb428baaa85c0adca9ef4884c637f289a0ab5e2d6 (diff)
Comment on deviation from standard
* pthread/pt-internal.h (guardsize): Mention that we depart from the standard which says guardsize is in addition to stacksize.
-rw-r--r--pthread/pt-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h
index f5766e9..067fb73 100644
--- a/pthread/pt-internal.h
+++ b/pthread/pt-internal.h
@@ -84,6 +84,8 @@ struct __pthread
size_t guardsize; /* Included in STACKSIZE (i.e. total
stack memory is STACKSIZE, not
STACKSIZE + GUARDSIZE). */
+ /* FIXME: standard says that guardsize is in
+ addition to stacksize. */
int stack; /* Nonzero if the stack was allocated. */
/* Exit status. */