diff options
Diffstat (limited to 'libitm/config/linux/futex.h')
-rw-r--r-- | libitm/config/linux/futex.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libitm/config/linux/futex.h b/libitm/config/linux/futex.h index 00161b47431..02bf5d0e323 100644 --- a/libitm/config/linux/futex.h +++ b/libitm/config/linux/futex.h @@ -27,10 +27,12 @@ #ifndef GTM_FUTEX_H #define GTM_FUTEX_H 1 +#include "local_atomic" + namespace GTM HIDDEN { -extern void futex_wait (int *addr, int val); -extern long futex_wake (int *addr, int count); +extern void futex_wait (std::atomic<int> *addr, int val); +extern long futex_wake (std::atomic<int> *addr, int count); } |