projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfstack: implement pop_all and iteration tests
[urcu.git]
/
tests
/
test_urcu_qsbr.c
diff --git
a/tests/test_urcu_qsbr.c
b/tests/test_urcu_qsbr.c
index 039031a35819a5284026f8b3af6597a735f3f007..7f27038d2fbf8455f84aa25915698b818ed33088 100644
(file)
--- a/
tests/test_urcu_qsbr.c
+++ b/
tests/test_urcu_qsbr.c
@@
-112,9
+112,10
@@
typedef unsigned long cpu_set_t;
static void set_affinity(void)
{
static void set_affinity(void)
{
+#if HAVE_SCHED_SETAFFINITY
cpu_set_t mask;
cpu_set_t mask;
- int cpu;
- int ret;
+ int cpu
, ret
;
+#endif /* HAVE_SCHED_SETAFFINITY */
if (!use_affinity)
return;
if (!use_affinity)
return;
This page took
0.023691 seconds
and
4
git commands to generate.