---
name: "_U_dyn_cancel"
section: "3libunwind"
platform: "linux"
package: "libunwind-dev"
version: "1.8.1-0.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/_U_dyn_cancel/3libunwind"
---

# \_U\_dyn\_cancel(3libunwind)

## NAME

\_U\_dyn\_cancel -- cancel unwind-info for dynamically generated code

## SYNOPSIS

\#include \<libunwind.h\>\

void \_U\_dyn\_cancel(unw\_dyn\_info\_t \*di);\

## DESCRIPTION

The \_U\_dyn\_cancel() routine cancels the registration of the  unwind info for a dynamically generated procedure. Argument di is the pointer to the unw\_dyn\_info\_t structure that  describes the procedure's unwind-info.

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

## THREAD AND SIGNAL SAFETY

\_U\_dyn\_cancel() is thread safe but *not* safe to use  from a signal handler.

## SEE ALSO

libunwind-dynamic(3libunwind), \_U\_dyn\_register(3libunwind)

## AUTHOR

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