projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
urcu-defer: handle malloc error value
[urcu.git]
/
tests
/
test_urcu_defer.c
diff --git
a/tests/test_urcu_defer.c
b/tests/test_urcu_defer.c
index 2cbb0416739a44aaf6d8dbd9ae2523ffbe843816..c333964ce9a998c094c5c831476189acce791409 100644
(file)
--- a/
tests/test_urcu_defer.c
+++ b/
tests/test_urcu_defer.c
@@
-84,7
+84,7
@@
static unsigned long wduration;
static inline void loop_sleep(unsigned long l)
{
while(l-- != 0)
static inline void loop_sleep(unsigned long l)
{
while(l-- != 0)
- cpu_relax();
+ c
aa_c
pu_relax();
}
static int verbose_mode;
}
static int verbose_mode;
@@
-156,7
+156,7
@@
static unsigned long long __thread nr_writes;
static unsigned long long __thread nr_reads;
static
static unsigned long long __thread nr_reads;
static
-unsigned long long __attribute__((aligned(CACHE_LINE_SIZE))) *tot_nr_writes;
+unsigned long long __attribute__((aligned(CA
A_CA
CHE_LINE_SIZE))) *tot_nr_writes;
static unsigned int nr_readers;
static unsigned int nr_writers;
static unsigned int nr_readers;
static unsigned int nr_writers;
This page took
0.024453 seconds
and
4
git commands to generate.