mirror of https://github.com/mkerrisk/man-pages
attributes.7: Comment out 'mem' text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
04c95a3bb5
commit
8e6f13fe8a
|
@ -767,25 +767,25 @@ which makes the former safe.
|
||||||
.\" If this is the case,
|
.\" If this is the case,
|
||||||
.\" suspending asynchronous cancellation for the duration of calls
|
.\" suspending asynchronous cancellation for the duration of calls
|
||||||
.\" to such functions is recommended.
|
.\" to such functions is recommended.
|
||||||
.TP
|
.\" .TP
|
||||||
.I mem
|
.\" .I mem
|
||||||
Functions annotated with
|
.\" Functions annotated with
|
||||||
.I mem
|
.\" .I mem
|
||||||
as an AC-Safety issue may leak
|
.\" as an AC-Safety issue may leak
|
||||||
memory if asynchronous thread cancellation interrupts their execution.
|
.\" memory if asynchronous thread cancellation interrupts their execution.
|
||||||
|
.\"
|
||||||
The problem is similar to that of file descriptors: there is no atomic
|
.\" The problem is similar to that of file descriptors: there is no atomic
|
||||||
interface to allocate memory and store its address in the argument to a
|
.\" interface to allocate memory and store its address in the argument to a
|
||||||
cleanup handler,
|
.\" cleanup handler,
|
||||||
or to release it and remove its address from that argument,
|
.\" or to release it and remove its address from that argument,
|
||||||
without at least temporarily disabling asynchronous cancellation,
|
.\" without at least temporarily disabling asynchronous cancellation,
|
||||||
which these functions do not do.
|
.\" which these functions do not do.
|
||||||
|
.\"
|
||||||
This remark does not by itself cause a function to be regarded as
|
.\" This remark does not by itself cause a function to be regarded as
|
||||||
generally AC-Unsafe.
|
.\" generally AC-Unsafe.
|
||||||
However, cumulative effects of such leaks may be
|
.\" However, cumulative effects of such leaks may be
|
||||||
severe enough for some programs that disabling asynchronous cancellation
|
.\" severe enough for some programs that disabling asynchronous cancellation
|
||||||
for the duration of calls to such functions may be required.
|
.\" for the duration of calls to such functions may be required.
|
||||||
.TP
|
.TP
|
||||||
.I cwd
|
.I cwd
|
||||||
Functions marked with
|
Functions marked with
|
||||||
|
|
Loading…
Reference in New Issue