projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: join worker thread in call_rcu_data_free
[userspace-rcu.git]
/
src
/
compat_futex.c
diff --git
a/src/compat_futex.c
b/src/compat_futex.c
index 9e918fe8e2aac035dc39e6e23868410348d02627..9281138723da6a1ddefd67f91e37211ea10a53fd 100644
(file)
--- a/
src/compat_futex.c
+++ b/
src/compat_futex.c
@@
-23,12
+23,12
@@
#include <stdio.h>
#include <pthread.h>
#include <signal.h>
#include <stdio.h>
#include <pthread.h>
#include <signal.h>
-#include <assert.h>
#include <errno.h>
#include <poll.h>
#include <stdint.h>
#include <urcu/arch.h>
#include <errno.h>
#include <poll.h>
#include <stdint.h>
#include <urcu/arch.h>
+#include <urcu/assert.h>
#include <urcu/futex.h>
#include <urcu/system.h>
#include <urcu/futex.h>
#include <urcu/system.h>
@@
-60,9
+60,9
@@
int compat_futex_noasync(int32_t *uaddr, int op, int32_t val,
* Check if NULL. Don't let users expect that they are taken into
* account.
*/
* Check if NULL. Don't let users expect that they are taken into
* account.
*/
- assert(!timeout);
- assert(!uaddr2);
- assert(!val3);
+
urcu_posix_
assert(!timeout);
+
urcu_posix_
assert(!uaddr2);
+
urcu_posix_
assert(!val3);
/*
* memory barriers to serialize with the previous uaddr modification.
/*
* memory barriers to serialize with the previous uaddr modification.
@@
-124,9
+124,9
@@
int compat_futex_async(int32_t *uaddr, int op, int32_t val,
* Check if NULL. Don't let users expect that they are taken into
* account.
*/
* Check if NULL. Don't let users expect that they are taken into
* account.
*/
- assert(!timeout);
- assert(!uaddr2);
- assert(!val3);
+
urcu_posix_
assert(!timeout);
+
urcu_posix_
assert(!uaddr2);
+
urcu_posix_
assert(!val3);
/*
* Ensure previous memory operations on uaddr have completed.
/*
* Ensure previous memory operations on uaddr have completed.
This page took
0.023694 seconds
and
4
git commands to generate.