attributes.7: Comment out some text on cancellation

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-10-18 12:23:37 +02:00
parent 669f036398
commit b7f5ac8b3a
1 changed files with 11 additions and 11 deletions

View File

@ -563,20 +563,20 @@ temporary signal;
blocking that signal before the call and resetting its
handler afterwards is recommended.
There is no safe way to guarantee the original signal handler is
restored in case of asynchronous cancellation,
therefore so-marked functions are also AC-Unsafe.
.\" There is no safe way to guarantee the original signal handler is
.\" restored in case of asynchronous cancellation,
.\" therefore so-marked functions are also AC-Unsafe.
.\"
.\" .\" fixme: at least deferred cancellation should get it right, and would
.\" .\" obviate the restoring bit below, and the qualifier above.
.\"
Besides the measures recommended to work around the
MT-Safety and AS-Safety problem,
in order to avert the cancellation problem,
disabling asynchronous cancellation
.I and
installing a cleanup handler to restore the signal to the desired state
and to release the mutex are recommended.
.\" Besides the measures recommended to work around the
.\" MT-Safety and AS-Safety problem,
.\" in order to avert the cancellation problem,
.\" disabling asynchronous cancellation
.\" .I and
.\" installing a cleanup handler to restore the signal to the desired state
.\" and to release the mutex are recommended.
.TP
.I term
Functions marked with