Home | History | Annotate | Download | only in doc

Lines Matching refs:unw

8 \begin{Name}{3}{unw\_set\_caching\_policy}{David Mosberger-Tang}{Programming Library}{unw\_set\_caching\_policy}unw\_set\_caching\_policy -- set unwind caching policy
15 \Type{int} \Func{unw\_set\_caching\_policy}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{unw\_caching\_policy\_t} \Var{policy});\\
19 The \Func{unw\_set\_caching\_policy}() routine sets the caching policy
24 \item[\Const{UNW\_CACHE\_NONE}] Turns off caching completely. This
26 \Func{unw\_flush\_cache}() had been called.
27 \item[\Const{UNW\_CACHE\_GLOBAL}] Enables caching using a global cache
30 cache, as if \Const{UNW\_CACHE\_PER\_THREAD} had been specified.
31 \item[\Const{UNW\_CACHE\_PER\_THREAD}] Enables caching using
34 as if \Const{UNW\_CACHE\_GLOBAL} had been specified.
38 appropriate calls to \Func{unw\_flush\_cache}() whenever the target
41 \Func{unw\_flush\_cache}() would have to be called (at least) for the
44 For address spaces created via \Func{unw\_create\_addr\_space}(3),
46 \Func{unw\_local\_addr\_space}, caching is turned on by default.
50 On successful completion, \Func{unw\_set\_caching\_policy}() returns 0.
56 \Func{unw\_set\_caching\_policy}() is thread-safe but \emph{not} safe
62 \item[\Const{UNW\_ENOMEM}] The desired caching policy could not be
69 \SeeAlso{unw\_create\_addr\_space(3)},
70 \SeeAlso{unw\_flush\_cache(3)}