]> git.saurik.com Git - apple/libc.git/blobdiff - pthreads/pthread_cleanup_pop.3
Libc-825.40.1.tar.gz
[apple/libc.git] / pthreads / pthread_cleanup_pop.3
index 7bbae5492b4a2d9b013e2ae4517ab9e9294fbea2..f6d0401e2d50948160d70f3e93f9cbb785a1c132 100644 (file)
@@ -47,6 +47,11 @@ is non-zero, it will execute the function.
 If there is no cleanup routine,
 .Fn pthread_cleanup_pop
 does nothing.
+.Pp
+.Fn pthread_cleanup_pop
+must be paired with a corresponding
+.Xr pthread_cleanup_push 3
+in the same lexical scope.
 .Sh RETURN VALUES
 .Fn pthread_cleanup_pop
 does not return any value.