Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP

hp.com home


unw_flush_cache

» 

HP Labs

» Research
» News and events
» Technical reports
» About HP Labs
» Careers @ HP Labs
» People
» Worldwide sites
» Downloads
Content starts here


Table of Contents

Synopsis

#include <libunwind.h>

void unw_flush_cache(unw_addr_space_t as, unw_word_t lo, unw_word_t hi);

Description

The unw_flush_cache() routine flushes all cached info as it relates to address-range lo to hi (non-inclusive) in the target address-space as. In addition, all info cached for address-space as that is not tied to a particular code-range is also flushed. For example, the address of the dynamic registration list is not tied to a code-range and its cached value (if any) is flushed by a call to this routine. The address range specified by lo and hi should be understood as a hint: unw_flush_cache() may flush more information than requested, but never less. In other words, unw_flush_cache() may overflush, but not underflush.

As a special case, if arguments lo and hi are both 0, all information cached on behalf of address space as is flushed.

Return Value

The unw_flush_cache() routine cannot fail and does not return a value.

Thread and Signal Safety

The unw_flush_cache() routine is thread-safe as well as safe to use from a signal handler.

See Also

libunwind(3), unw_set_caching_policy(3)

Author

David Mosberger-Tang
Hewlett-Packard Labs
Palo-Alto, CA 94304
Email: davidm@hpl.hp.com
WWW: http://www.hpl.hp.com/research/linux/libunwind/.

Printable version
Privacy statement Using this site means you accept its terms Feedback to HP Labs
© 2009 Hewlett-Packard Development Company, L.P.