projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfqueue: LGPL-ize
[urcu.git]
/
tests
/
test_rwlock_timing.c
diff --git
a/tests/test_rwlock_timing.c
b/tests/test_rwlock_timing.c
index b26f83dcc9035c20ea878896bc8b1477eaa64a76..7d1680606d20373515ca0224193582a6c737a4b2 100644
(file)
--- a/
tests/test_rwlock_timing.c
+++ b/
tests/test_rwlock_timing.c
@@
-3,7
+3,7
@@
*
* Userspace RCU library - test program
*
*
* Userspace RCU library - test program
*
- * Copyright February 2009 - Mathieu Desnoyers <mathieu.desnoyers@
polymtl.ca
>
+ * Copyright February 2009 - Mathieu Desnoyers <mathieu.desnoyers@
efficios.com
>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-20,6
+20,7
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
@@
-31,10
+32,9
@@
#include <assert.h>
#include <sys/syscall.h>
#include <pthread.h>
#include <assert.h>
#include <sys/syscall.h>
#include <pthread.h>
-#include <
urcu/arch
.h>
+#include <
errno
.h>
-/* Make this big enough to include the POWER5+ L3 cacheline size of 256B */
-#define CACHE_LINE_SIZE 4096
+#include <urcu/arch.h>
#if defined(_syscall0)
_syscall0(pid_t, gettid)
#if defined(_syscall0)
_syscall0(pid_t, gettid)
This page took
0.024078 seconds
and
4
git commands to generate.