projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update version to 0.6.2
[urcu.git]
/
tests
/
rcutorture.h
diff --git
a/tests/rcutorture.h
b/tests/rcutorture.h
index aba74b0bcdadc70971af0e5e66225cfcaa034a62..5ba3d2b0e85312318a3e849a1d98c6050faedbf4 100644
(file)
--- a/
tests/rcutorture.h
+++ b/
tests/rcutorture.h
@@
-79,7
+79,8
@@
char argsbuf[64];
#define GOFLAG_RUN 1
#define GOFLAG_STOP 2
#define GOFLAG_RUN 1
#define GOFLAG_STOP 2
-int goflag __attribute__((__aligned__(CAA_CACHE_LINE_SIZE))) = GOFLAG_INIT;
+volatile int goflag __attribute__((__aligned__(CAA_CACHE_LINE_SIZE)))
+ = GOFLAG_INIT;
#define RCU_READ_RUN 1000
#define RCU_READ_RUN 1000
@@
-156,7
+157,7
@@
void *rcu_update_perf_test(void *arg)
if ((random() & 0xf00) == 0) {
struct call_rcu_data *crdp;
if ((random() & 0xf00) == 0) {
struct call_rcu_data *crdp;
- crdp = create_call_rcu_data(0);
+ crdp = create_call_rcu_data(0
, -1
);
if (crdp != NULL) {
fprintf(stderr,
"Using per-thread call_rcu() worker.\n");
if (crdp != NULL) {
fprintf(stderr,
"Using per-thread call_rcu() worker.\n");
@@
-385,7
+386,7
@@
void *rcu_fake_update_stress_test(void *arg)
if ((random() & 0xf00) == 0) {
struct call_rcu_data *crdp;
if ((random() & 0xf00) == 0) {
struct call_rcu_data *crdp;
- crdp = create_call_rcu_data(0);
+ crdp = create_call_rcu_data(0
, -1
);
if (crdp != NULL) {
fprintf(stderr,
"Using per-thread call_rcu() worker.\n");
if (crdp != NULL) {
fprintf(stderr,
"Using per-thread call_rcu() worker.\n");
This page took
0.023842 seconds
and
4
git commands to generate.