projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfstack API: rename cds_wfs_first_blocking to cds_wfs_first
[userspace-rcu.git]
/
urcu
/
futex.h
diff --git
a/urcu/futex.h
b/urcu/futex.h
index 69f8961dafca35ad3d67f514600c4f9600074b07..906d9b723ae88481fc7874e1409dc24dd80f35eb 100644
(file)
--- a/
urcu/futex.h
+++ b/
urcu/futex.h
@@
-6,6
+6,8
@@
*
* Userspace RCU - sys_futex/compat_futex header.
*
*
* Userspace RCU - sys_futex/compat_futex header.
*
+ * Copyright 2011-2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
@@
-22,6
+24,7
@@
*/
#include <urcu/config.h>
*/
#include <urcu/config.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-49,12
+52,12
@@
extern "C" {
#define futex_async(uaddr, op, val, timeout, uaddr2, val3) \
futex(uaddr, op, val, timeout, uaddr2, val3)
#else
#define futex_async(uaddr, op, val, timeout, uaddr2, val3) \
futex(uaddr, op, val, timeout, uaddr2, val3)
#else
-extern int compat_futex_noasync(int
*uaddr, int op, in
t val,
- const struct timespec *timeout, int
*uaddr2, in
t val3);
+extern int compat_futex_noasync(int
32_t *uaddr, int op, int32_
t val,
+ const struct timespec *timeout, int
32_t *uaddr2, int32_
t val3);
#define futex_noasync(uaddr, op, val, timeout, uaddr2, val3) \
compat_futex_noasync(uaddr, op, val, timeout, uaddr2, val3)
#define futex_noasync(uaddr, op, val, timeout, uaddr2, val3) \
compat_futex_noasync(uaddr, op, val, timeout, uaddr2, val3)
-extern int compat_futex_async(int
*uaddr, int op, in
t val,
- const struct timespec *timeout, int
*uaddr2, in
t val3);
+extern int compat_futex_async(int
32_t *uaddr, int op, int32_
t val,
+ const struct timespec *timeout, int
32_t *uaddr2, int32_
t val3);
#define futex_async(uaddr, op, val, timeout, uaddr2, val3) \
compat_futex_async(uaddr, op, val, timeout, uaddr2, val3)
#endif
#define futex_async(uaddr, op, val, timeout, uaddr2, val3) \
compat_futex_async(uaddr, op, val, timeout, uaddr2, val3)
#endif
This page took
0.02522 seconds
and
4
git commands to generate.