projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fallback mechanism not working on platform where TLS is unsupported
[urcu.git]
/
tests
/
test_urcu_lfq.c
diff --git
a/tests/test_urcu_lfq.c
b/tests/test_urcu_lfq.c
index ec5d822d1b1dde350af55b99fd8dd009bed5c293..6b2bf051da80f5af9887a80797ee57fa8fca28d0 100644
(file)
--- a/
tests/test_urcu_lfq.c
+++ b/
tests/test_urcu_lfq.c
@@
-105,9
+105,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.028466 seconds
and
4
git commands to generate.