_U_DYN_REGISTER(3libunwind) Programming Library _U_DYN_REGISTER(3libunwind)

_U_dyn_register -- register unwind info for dynamically generated code

#include <libunwind.h>

void _U_dyn_register(unw_dyn_info_t *di);

The _U_dyn_register() routine registers unwind info for a dynamically generated procedure. The procedure's unwind info is described by a structure of type unw_dyn_info_t (see libunwind-dynamic(3libunwind)). A pointer to this structure is passed in argument di.

The _U_dyn_register() routine is guaranteed to execute in constant time (in the absence of contention from concurrent calls to _U_dyn_register() or _U_dyn_cancel()).

_U_dyn_register() is thread safe but not safe to use from a signal handler.

libunwind-dynamic(3libunwind), _U_dyn_cancel(3libunwind)

David Mosberger-Tang
Email: dmosberger@gmail.com
WWW: http://www.nongnu.org/libunwind/.

29 August 2023 Programming Library