projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rcu_defer test: handle error value
[urcu.git]
/
tests
/
test_urcu_lfq.c
diff --git
a/tests/test_urcu_lfq.c
b/tests/test_urcu_lfq.c
index de7c8a39a209d30e54fd652c69e4f6fc72db0819..5fd0ff38cb0ecd15a462072394a18ac7598a3ae1 100644
(file)
--- a/
tests/test_urcu_lfq.c
+++ b/
tests/test_urcu_lfq.c
@@
-217,7
+217,11
@@
void *thr_dequeuer(void *_count)
set_affinity();
set_affinity();
- rcu_defer_register_thread();
+ ret = rcu_defer_register_thread();
+ if (ret) {
+ printf("Error in rcu_defer_register_thread\n");
+ exit(-1);
+ }
rcu_register_thread();
while (!test_go)
rcu_register_thread();
while (!test_go)
This page took
0.022435 seconds
and
4
git commands to generate.