mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-18 11:01:41 +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));
|
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;
|
as->acc = *a;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue