projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add `urcu_posix_assert()` as `assert()` replacement
[urcu.git]
/
tests
/
regression
/
test_urcu_fork.c
diff --git
a/tests/regression/test_urcu_fork.c
b/tests/regression/test_urcu_fork.c
index b6f94f55738de8fd8aad241f98b5e3317b99b00c..81dbe7742f769fb5b82db701de9cb515c148c60e 100644
(file)
--- a/
tests/regression/test_urcu_fork.c
+++ b/
tests/regression/test_urcu_fork.c
@@
-28,10
+28,10
@@
#include <sys/wait.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/wait.h>
#include <unistd.h>
#include <stdio.h>
-#include <assert.h>
#include <sched.h>
#include <errno.h>
#include <sched.h>
#include <errno.h>
+#include <urcu/assert.h>
#include <urcu/arch.h>
#include <urcu/tls-compat.h>
#include <urcu/arch.h>
#include <urcu/tls-compat.h>
@@
-89,7
+89,7
@@
static void test_rcu(void)
rcu_read_unlock();
node = malloc(sizeof(*node));
rcu_read_unlock();
node = malloc(sizeof(*node));
- assert(node);
+
urcu_posix_
assert(node);
call_rcu(&node->head, cb);
call_rcu(&node->head, cb);
This page took
0.024354 seconds
and
4
git commands to generate.