projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
"make check" runs the test suite
[urcu.git]
/
urcu-qsbr-static.h
diff --git
a/urcu-qsbr-static.h
b/urcu-qsbr-static.h
index 8822e050bac8aaa00a8c210dfb122193f2e90280..125301f9b7749c4a93784068eb3f6e320aa156d9 100644
(file)
--- a/
urcu-qsbr-static.h
+++ b/
urcu-qsbr-static.h
@@
-169,7
+169,7
@@
static inline int rcu_gp_ongoing(unsigned long *ctr)
unsigned long v;
v = LOAD_SHARED(*ctr);
- return v && (v
- rcu_gp_ctr > ULONG_MAX / 2
);
+ return v && (v
!= rcu_gp_ctr
);
}
#endif /* !(BITS_PER_LONG < 64) */
This page took
0.023793 seconds
and
4
git commands to generate.