summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2012-03-16 05:05:37 +0000
committerdavidxu <davidxu@FreeBSD.org>2012-03-16 05:05:37 +0000
commitaea001420fce825e57c60c48acf0f16094bc782b (patch)
tree14cf1fc65687815c2d23efd6c28196f5630dbd77 /share
parent02e067d118d4246773de1b129e5154ab8d455aff (diff)
downloadFreeBSD-src-aea001420fce825e57c60c48acf0f16094bc782b.zip
FreeBSD-src-aea001420fce825e57c60c48acf0f16094bc782b.tar.gz
Add implementation note about when a condition variable can be destroyed.
Diffstat (limited to 'share')
-rw-r--r--share/man/man3/pthread_cond_destroy.33
1 files changed, 3 insertions, 0 deletions
diff --git a/share/man/man3/pthread_cond_destroy.3 b/share/man/man3/pthread_cond_destroy.3
index ca435ea..39eff9d 100644
--- a/share/man/man3/pthread_cond_destroy.3
+++ b/share/man/man3/pthread_cond_destroy.3
@@ -63,6 +63,9 @@ The variable
.Fa cond
is locked by another thread.
.El
+.Sh IMPLEMENTATION NOTES
+A condition variable can be destroyed immediately after all the threads that
+are blocked on it are awakened.
.Sh SEE ALSO
.Xr pthread_cond_broadcast 3 ,
.Xr pthread_cond_init 3 ,
OpenPOWER on IntegriCloud