projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rculfhash: put thread offline before taking mutex (fix G.P. deadlock)
[urcu.git]
/
tests
/
test_urcu_wfs.c
diff --git
a/tests/test_urcu_wfs.c
b/tests/test_urcu_wfs.c
index dc4570009d790ad21e5ec4bde373a2639c380384..6d419ca189d404bae46443a2afc088e7e2365a65 100644
(file)
--- a/
tests/test_urcu_wfs.c
+++ b/
tests/test_urcu_wfs.c
@@
-34,12
+34,15
@@
#include <unistd.h>
#include <stdio.h>
#include <assert.h>
-#include <sys/syscall.h>
#include <sched.h>
#include <errno.h>
#include <urcu/arch.h>
+#ifdef __linux__
+#include <syscall.h>
+#endif
+
/* hardcoded number of CPUs */
#define NR_CPUS 16384
This page took
0.023146 seconds
and
4
git commands to generate.