mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-10 19:23:41 +01:00
(ia64_script_cache): If HAVE_ATOMIC_OPS_H is true, declare "busy" member
in lieu of "lock" member. (Logical change 1.124)
This commit is contained in:
parent
629d7d3263
commit
d61f300b7b
1 changed files with 4 additions and 0 deletions
|
@ -74,7 +74,11 @@ struct ia64_script
|
|||
|
||||
struct ia64_script_cache
|
||||
{
|
||||
#ifdef HAVE_ATOMIC_OPS_H
|
||||
AO_TS_T busy; /* is the script-cache busy? */
|
||||
#else
|
||||
pthread_mutex_t lock;
|
||||
#endif
|
||||
unsigned short lru_head; /* index of lead-recently used script */
|
||||
unsigned short lru_tail; /* index of most-recently used script */
|
||||
|
||||
|
|
Loading…
Reference in a new issue