projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rculfhash test: fix trivial memleak and return node leak and errors
[urcu.git]
/
tests
/
test_urcu_qsbr_gc.c
diff --git
a/tests/test_urcu_qsbr_gc.c
b/tests/test_urcu_qsbr_gc.c
index aa0e2a74aeabdd54bb3c30e3ec276d3b9120f46d..f8cf784ccd2a455c1afce76ec7dc7449cb671412 100644
(file)
--- a/
tests/test_urcu_qsbr_gc.c
+++ b/
tests/test_urcu_qsbr_gc.c
@@
-117,9
+117,10
@@
typedef unsigned long cpu_set_t;
static void set_affinity(void)
{
+#if HAVE_SCHED_SETAFFINITY
cpu_set_t mask;
- int cpu;
- int ret;
+ int cpu
, ret
;
+#endif /* HAVE_SCHED_SETAFFINITY */
if (!use_affinity)
return;
This page took
0.022953 seconds
and
4
git commands to generate.