Add implementation note about when a condition variable can be destroyed.

This commit is contained in:
davidxu 2012-03-16 05:05:37 +00:00
parent 02e067d118
commit aea001420f

View File

@ -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 ,