mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
tile: support lll_futex_timed_wait_bitset
This commit is contained in:
parent
d63f73be34
commit
fdfc65d21f
@ -1,3 +1,8 @@
|
||||
2012-12-28 Chris Metcalf <cmetcalf@tilera.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h
|
||||
(lll_futex_timed_wait_bitset): New macro.
|
||||
|
||||
2012-12-14 Chris Metcalf <cmetcalf@tilera.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/tile/nptl/clone.S: Fix DWARF info.
|
||||
|
@ -86,6 +86,19 @@
|
||||
(val), (timespec)); \
|
||||
})
|
||||
|
||||
#define lll_futex_timed_wait_bitset(futexp, val, timespec, clockbit, private) \
|
||||
({ \
|
||||
INTERNAL_SYSCALL_DECL (__err); \
|
||||
long int __ret; \
|
||||
int __op = FUTEX_WAIT_BITSET | clockbit; \
|
||||
\
|
||||
__ret = INTERNAL_SYSCALL (futex, __err, 6, (futexp), \
|
||||
__lll_private_flag (__op, private), \
|
||||
(val), (timespec), NULL /* Unused. */, \
|
||||
FUTEX_BITSET_MATCH_ANY); \
|
||||
__ret; \
|
||||
})
|
||||
|
||||
#define lll_futex_wake(futexp, nr, private) \
|
||||
({ \
|
||||
INTERNAL_SYSCALL_DECL (__err); \
|
||||
|
Loading…
Reference in New Issue
Block a user