_U_dyn_register.tex 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. \documentclass{article}
  2. \usepackage[fancyhdr,pdf]{latex2man}
  3. \input{common.tex}
  4. \begin{document}
  5. \begin{Name}{3}{\_U\_dyn\_register}{David Mosberger-Tang}{Programming Library}{\_U\_dyn\_register}\_U\_dyn\_register -- register unwind-info for dynamically generated code
  6. \end{Name}
  7. \section{Synopsis}
  8. \File{\#include $<$libunwind.h$>$}\\
  9. \Type{void} \Func{\_U\_dyn\_register}(\Type{unw\_dyn\_info\_t~*}\Var{di});\\
  10. \section{Description}
  11. The \Func{\_U\_dyn\_register}() routine registers unwind-info for a
  12. dynamically generated procedure. The procedure's unwind-info is
  13. described by a structure of type \Type{unw\_dyn\_info\_t} (see
  14. \SeeAlso{libunwind-dynamic(3)}). A pointer to this structure is
  15. passed in argument \Var{di}.
  16. The \Func{\_U\_dyn\_register}() routine is guaranteed to execute in
  17. constant time (in the absence of contention from concurrent calls to
  18. \Func{\_U\_dyn\_register}() or \Func{\_U\_dyn\_cancel}()).
  19. \section{Thread and Signal Safety}
  20. \Func{\_U\_dyn\_register}() is thread-safe but \emph{not} safe to use
  21. from a signal handler.
  22. \section{See Also}
  23. \SeeAlso{libunwind-dynamic(3)}, \SeeAlso{\_U\_dyn\_cancel(3)}
  24. \section{Author}
  25. \noindent
  26. David Mosberger-Tang\\
  27. Email: \Email{dmosberger@gmail.com}\\
  28. WWW: \URL{http://www.nongnu.org/libunwind/}.
  29. \LatexManEnd
  30. \end{document}