mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
Add sparc implementation of lll_futex_timed_wait_bitset
nptl/ * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_futex_timed_wait_bitset): New macro.
This commit is contained in:
parent
31a7fe5ca9
commit
9c7595bda2
@ -1,3 +1,8 @@
|
|||||||
|
2012-12-27 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h
|
||||||
|
(lll_futex_timed_wait_bitset): New macro.
|
||||||
|
|
||||||
2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/s390/lowlevellock.h (SYS_futex):
|
* sysdeps/unix/sysv/linux/s390/lowlevellock.h (SYS_futex):
|
||||||
|
@ -95,6 +95,19 @@ extern void __cpu_relax (void);
|
|||||||
__ret; \
|
__ret; \
|
||||||
})
|
})
|
||||||
|
|
||||||
|
#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) \
|
#define lll_futex_wake(futexp, nr, private) \
|
||||||
({ \
|
({ \
|
||||||
INTERNAL_SYSCALL_DECL (__err); \
|
INTERNAL_SYSCALL_DECL (__err); \
|
||||||
|
Loading…
Reference in New Issue
Block a user