From 8e6f13fe8ae547edbdf59bac075bab1b7b3d8124 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 18 Oct 2014 12:54:58 +0200 Subject: [PATCH] attributes.7: Comment out 'mem' text Signed-off-by: Michael Kerrisk --- man7/attributes.7 | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/man7/attributes.7 b/man7/attributes.7 index 81454ae2b..e4e1dd51a 100644 --- a/man7/attributes.7 +++ b/man7/attributes.7 @@ -767,25 +767,25 @@ which makes the former safe. .\" If this is the case, .\" suspending asynchronous cancellation for the duration of calls .\" to such functions is recommended. -.TP -.I mem -Functions annotated with -.I mem -as an AC-Safety issue may leak -memory if asynchronous thread cancellation interrupts their execution. - -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 -cleanup handler, -or to release it and remove its address from that argument, -without at least temporarily disabling asynchronous cancellation, -which these functions do not do. - -This remark does not by itself cause a function to be regarded as -generally AC-Unsafe. -However, cumulative effects of such leaks may be -severe enough for some programs that disabling asynchronous cancellation -for the duration of calls to such functions may be required. +.\" .TP +.\" .I mem +.\" Functions annotated with +.\" .I mem +.\" as an AC-Safety issue may leak +.\" memory if asynchronous thread cancellation interrupts their execution. +.\" +.\" 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 +.\" cleanup handler, +.\" or to release it and remove its address from that argument, +.\" without at least temporarily disabling asynchronous cancellation, +.\" which these functions do not do. +.\" +.\" This remark does not by itself cause a function to be regarded as +.\" generally AC-Unsafe. +.\" However, cumulative effects of such leaks may be +.\" severe enough for some programs that disabling asynchronous cancellation +.\" for the duration of calls to such functions may be required. .TP .I cwd Functions marked with