mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-17 13:47:37 +01:00
(unw_create_addr_space): Initialize global script-cache here (while
there are no other threads using the cache). (Logical change 1.94)
This commit is contained in:
parent
0fc6931c35
commit
117b21a1cf
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ unw_create_addr_space (unw_accessors_t *a, int byte_order)
|
|||
|
||||
memset (as, 0, sizeof (*as));
|
||||
|
||||
/* Initialize the cache while we're certain that nobody is using
|
||||
this address space yet. */
|
||||
ia64_script_cache_init (&as->global_cache);
|
||||
|
||||
as->acc = *a;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue