aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPatrick Kelsey <pkelsey@FreeBSD.org>2015-05-28 16:18:41 +0000
committerPatrick Kelsey <pkelsey@FreeBSD.org>2015-05-28 16:18:41 +0000
commite5315a56df63d53c7635d36f2f3026aed9378b9e (patch)
treeacd43d69dbcc6b4fd0bb189c97ea071df36a8615 /share
parentb7d130befcc7f2176e5b0d43b106af1fdd7f27e2 (diff)
Notes
Diffstat (limited to 'share')
-rw-r--r--share/man/man3/pthread_setspecific.35
1 files changed, 4 insertions, 1 deletions
diff --git a/share/man/man3/pthread_setspecific.3 b/share/man/man3/pthread_setspecific.3
index 1ea3002d43a0a..3153c991f90b5 100644
--- a/share/man/man3/pthread_setspecific.3
+++ b/share/man/man3/pthread_setspecific.3
@@ -67,7 +67,10 @@ is undefined.
The
.Fn pthread_setspecific
function may be called from a thread-specific data destructor function,
-however this may result in lost storage or infinite loops.
+however this may result in lost storage or infinite loops if doing so
+causes non-NULL key values to remain after
+.Bq PTHREAD_DESTRUCTOR_ITERATIONS
+iterations of destructor calls have been made.
.Sh RETURN VALUES
If successful, the
.Fn pthread_setspecific