File: _U_dyn_register.tex

package info (click to toggle)
libunwind 1.8.1-0.2
  • links: PTS
  • area: main
  • in suites: sid
  • size: 7,360 kB
  • sloc: ansic: 42,395; sh: 5,215; asm: 2,172; makefile: 1,557; cpp: 122
file content (48 lines) | stat: -rw-r--r-- 1,344 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\documentclass{article}
\usepackage[fancyhdr,pdf]{latex2man}

\input{common.tex}

\begin{document}

\begin{Name}{3libunwind}{\_U\_dyn\_register}{David Mosberger-Tang}{Programming Library}{\_U\_dyn\_register}\_U\_dyn\_register -- register unwind info for dynamically generated code
\end{Name}

\section{Synopsis}

\File{\#include $<$libunwind.h$>$}\\

\Type{void} \Func{\_U\_dyn\_register}(\Type{unw\_dyn\_info\_t~*}\Var{di});\\

\section{Description}

The \Func{\_U\_dyn\_register}() routine registers unwind info for a
dynamically generated procedure.  The procedure's unwind info is
described by a structure of type \Type{unw\_dyn\_info\_t} (see
\SeeAlso{libunwind-dynamic}(3libunwind)).  A pointer to this structure is
passed in argument \Var{di}.

The \Func{\_U\_dyn\_register}() routine is guaranteed to execute in
constant time (in the absence of contention from concurrent calls to
\Func{\_U\_dyn\_register}() or \Func{\_U\_dyn\_cancel}()).


\section{Thread and Signal Safety}

\Func{\_U\_dyn\_register}() is thread safe but \emph{not} safe to use
from a signal handler.

\section{See Also}

\SeeAlso{libunwind-dynamic}(3libunwind),
\SeeAlso{\_U\_dyn\_cancel}(3libunwind)

\section{Author}

\noindent
David Mosberger-Tang\\
Email: \Email{dmosberger@gmail.com}\\
WWW: \URL{http://www.nongnu.org/libunwind/}.
\LatexManEnd

\end{document}