diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-07-10 10:57:57 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-07-10 10:57:57 -0700 |
commit | 887865fcfab05939dabec78f5ad358d0283602d3 (patch) | |
tree | 91b4182f7d892a8bb784c8ac9f9caba22117387e /sysdeps/unix/sysv/linux/tile | |
parent | 585367266923156ac6fb789939a923641ba5aaf4 (diff) | |
download | glibc-887865fcfab05939dabec78f5ad358d0283602d3.tar.gz glibc-887865fcfab05939dabec78f5ad358d0283602d3.tar.xz glibc-887865fcfab05939dabec78f5ad358d0283602d3.zip |
Get rid of lll_robust_trylock.
Diffstat (limited to 'sysdeps/unix/sysv/linux/tile')
-rw-r--r-- | sysdeps/unix/sysv/linux/tile/lowlevellock.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/tile/lowlevellock.h b/sysdeps/unix/sysv/linux/tile/lowlevellock.h index 46149f1cd4..09c1b3d7e7 100644 --- a/sysdeps/unix/sysv/linux/tile/lowlevellock.h +++ b/sysdeps/unix/sysv/linux/tile/lowlevellock.h @@ -186,14 +186,6 @@ __lll_cond_trylock (int *futex) #define lll_cond_trylock(lock) __lll_cond_trylock (&(lock)) -static inline int __attribute__ ((always_inline)) -__lll_robust_trylock (int *futex, int id) -{ - return atomic_compare_and_exchange_val_acq (futex, id, 0) != 0; -} -#define lll_robust_trylock(lock, id) \ - __lll_robust_trylock (&(lock), id) - extern void __lll_lock_wait_private (int *futex) attribute_hidden; extern void __lll_lock_wait (int *futex, int private) attribute_hidden; extern int __lll_robust_lock_wait (int *futex, int private) attribute_hidden; |