mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-17 02:31:41 +01:00
Remove duplicate calls to mark_as_used
This commit is contained in:
parent
4ab26bcdaa
commit
3067acf172
1 changed files with 0 additions and 2 deletions
|
@ -196,13 +196,11 @@ static inline void mark_as_used(void *v) {
|
||||||
#define lock_acquire(l,m) \
|
#define lock_acquire(l,m) \
|
||||||
do { \
|
do { \
|
||||||
SIGPROCMASK (SIG_SETMASK, &unwi_full_mask, &(m)); \
|
SIGPROCMASK (SIG_SETMASK, &unwi_full_mask, &(m)); \
|
||||||
mark_as_used(&(m)); \
|
|
||||||
mutex_lock (l); \
|
mutex_lock (l); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define lock_release(l,m) \
|
#define lock_release(l,m) \
|
||||||
do { \
|
do { \
|
||||||
mutex_unlock (l); \
|
mutex_unlock (l); \
|
||||||
mark_as_used(&(m)); \
|
|
||||||
SIGPROCMASK (SIG_SETMASK, &(m), NULL); \
|
SIGPROCMASK (SIG_SETMASK, &(m), NULL); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue