1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-09-27 17:09:29 +02:00

(unw_set_caching_policy): Default to "global" policy if thread-local policy is

not available.

(Logical change 1.63)
This commit is contained in:
mostang.com!davidm 2003-03-19 19:25:18 +00:00
parent 7bfbbb6126
commit 5fe7ac3ff5

View file

@ -36,7 +36,7 @@ unw_set_caching_policy (unw_addr_space_t as, unw_caching_policy_t policy)
#ifndef HAVE___THREAD
if (policy == UNW_CACHE_PER_THREAD)
return -UNW_EINVAL;
policy = UNW_CACHE_GLOBAL;
#endif
as->caching_policy = policy;