mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
0a57b83e4a
thread, asynchronous signal and asynchronous cancellation safety properties. * manual/intro.texi: Introduce the properties themselves.
216 lines
4.5 KiB
Plaintext
216 lines
4.5 KiB
Plaintext
@c Define common macros used to keep phrasing consistent in the manual.
|
|
|
|
@ifclear MACROS
|
|
@set MACROS
|
|
|
|
@c Names used to refer to the library, as noun phrases at the start or
|
|
@c not at the start of a sentence.
|
|
@macro Theglibc
|
|
The GNU C Library
|
|
@end macro
|
|
@macro theglibc
|
|
the GNU C Library
|
|
@end macro
|
|
|
|
@c Name used to refer to the library as an adjective.
|
|
@macro glibcadj
|
|
GNU C Library
|
|
@end macro
|
|
|
|
@c Description applying to all GNU systems; that is, used in
|
|
@c describing a property of a system such that no system without that
|
|
@c property would be considered a variant of the GNU system.
|
|
@macro gnusystems
|
|
GNU systems
|
|
@end macro
|
|
|
|
@c Systems that are not GNU systems.
|
|
@macro nongnusystems
|
|
non-GNU systems
|
|
@end macro
|
|
|
|
@c Description applying to GNU/Linux and GNU/Hurd systems, but not
|
|
@c necessarily to other variants of the GNU system.
|
|
@macro gnulinuxhurdsystems
|
|
GNU/Linux and GNU/Hurd systems
|
|
@end macro
|
|
|
|
@c Descrption applying to GNU/Hurd systems; that is, systems using the
|
|
@c GNU Hurd with the GNU C Library.
|
|
@macro gnuhurdsystems
|
|
GNU/Hurd systems
|
|
@end macro
|
|
|
|
@c Descrption applying to GNU/Linux systems; that is, systems using
|
|
@c the Linux kernel with the GNU C Library.
|
|
@macro gnulinuxsystems
|
|
GNU/Linux systems
|
|
@end macro
|
|
|
|
@c Document the safety functions as preliminary. It does NOT expand its
|
|
@c comments.
|
|
@macro prelim {comments}
|
|
Preliminary:
|
|
|
|
@end macro
|
|
@c Document a function as thread safe.
|
|
@macro mtsafe {comments}
|
|
| MT-Safe \comments\
|
|
|
|
@end macro
|
|
@c Document a function as thread unsafe.
|
|
@macro mtunsafe {comments}
|
|
| MT-Unsafe \comments\
|
|
|
|
@end macro
|
|
@c Document a function as safe for use in asynchronous signal handlers.
|
|
@macro assafe {comments}
|
|
| AS-Safe \comments\
|
|
|
|
@end macro
|
|
@c Document a function as unsafe for use in asynchronous signal
|
|
@c handlers. This distinguishes unmarked functions, for which this
|
|
@c property has not been assessed, from those that have been analyzed.
|
|
@macro asunsafe {comments}
|
|
| AS-Unsafe \comments\
|
|
|
|
@end macro
|
|
@c Document a function as safe for use when asynchronous cancellation is
|
|
@c enabled.
|
|
@macro acsafe {comments}
|
|
| AC-Safe \comments\
|
|
|
|
@end macro
|
|
@c Document a function as unsafe for use when asynchronous cancellation
|
|
@c is enabled. This distinguishes unmarked functions, for which this
|
|
@c property has not been assessed, from those that have been analyzed.
|
|
@macro acunsafe {comments}
|
|
| AC-Unsafe \comments\
|
|
|
|
@end macro
|
|
@c Format safety properties without referencing the section of the
|
|
@c definitions. To be used in the definitions of the properties
|
|
@c themselves.
|
|
@macro sampsafety {notes}
|
|
@noindent
|
|
\notes\|
|
|
|
|
|
|
@end macro
|
|
@c Format the safety properties of a function.
|
|
@macro safety {notes}
|
|
\notes\| @xref{POSIX Safety Concepts}.
|
|
|
|
|
|
@end macro
|
|
@macro mtasurace {comments}
|
|
race\comments\
|
|
@end macro
|
|
@macro asurace {comments}
|
|
race\comments\
|
|
@end macro
|
|
@macro mtsrace {comments}
|
|
race\comments\
|
|
@end macro
|
|
@macro mtasuconst {comments}
|
|
const\comments\
|
|
@end macro
|
|
@macro mtslocale {comments}
|
|
locale\comments\
|
|
@end macro
|
|
@macro mtsenv {comments}
|
|
env\comments\
|
|
@end macro
|
|
@macro mtshostid {comments}
|
|
hostid\comments\
|
|
@end macro
|
|
@macro mtssigintr {comments}
|
|
sigintr\comments\
|
|
@end macro
|
|
@macro mtuinit {comments}
|
|
init\comments\
|
|
@end macro
|
|
@macro asuinit {comments}
|
|
init\comments\
|
|
@end macro
|
|
@macro acuinit {comments}
|
|
init\comments\
|
|
@end macro
|
|
@macro asulock {comments}
|
|
lock\comments\
|
|
@end macro
|
|
@macro aculock {comments}
|
|
lock\comments\
|
|
@end macro
|
|
@macro asucorrupt {comments}
|
|
corrupt\comments\
|
|
@end macro
|
|
@macro acucorrupt {comments}
|
|
corrupt\comments\
|
|
@end macro
|
|
@macro ascuheap {comments}
|
|
heap\comments\
|
|
@end macro
|
|
@macro asuheap {comments}
|
|
heap\comments\
|
|
@end macro
|
|
@macro ascudlopen {comments}
|
|
dlopen\comments\
|
|
@end macro
|
|
@macro ascuplugin {comments}
|
|
plugin\comments\
|
|
@end macro
|
|
@macro ascuintl {comments}
|
|
i18n\comments\
|
|
@end macro
|
|
@macro asuintl {comments}
|
|
i18n\comments\
|
|
@end macro
|
|
@macro acsfd {comments}
|
|
fd\comments\
|
|
@end macro
|
|
@macro acsmem {comments}
|
|
mem\comments\
|
|
@end macro
|
|
@macro mtascusig {comments}
|
|
sig\comments\
|
|
@end macro
|
|
@macro mtasuterm {comments}
|
|
term\comments\
|
|
@end macro
|
|
@macro acuterm {comments}
|
|
term\comments\
|
|
@end macro
|
|
@macro mtstimer {comments}
|
|
timer\comments\
|
|
@end macro
|
|
@macro mtascutimer {comments}
|
|
timer\comments\
|
|
@end macro
|
|
@macro mtasscwd {comments}
|
|
cwd\comments\
|
|
@end macro
|
|
@macro acscwd {comments}
|
|
cwd\comments\
|
|
@end macro
|
|
@macro mtsposix {comments}
|
|
!posix\comments\
|
|
@end macro
|
|
@macro mtuposix {comments}
|
|
!posix\comments\
|
|
@end macro
|
|
@macro assposix {comments}
|
|
!posix\comments\
|
|
@end macro
|
|
@macro asuposix {comments}
|
|
!posix\comments\
|
|
@end macro
|
|
@macro acsposix {comments}
|
|
!posix\comments\
|
|
@end macro
|
|
@macro acuposix {comments}
|
|
!posix\comments\
|
|
@end macro
|
|
|
|
@end ifclear
|