projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: cast pthread_self() return value to unsigned long
[urcu.git]
/
urcu
/
static
/
urcu-qsbr.h
diff --git
a/urcu/static/urcu-qsbr.h
b/urcu/static/urcu-qsbr.h
index 8b16a4abc4586783fd5a267126e43063050f58f6..c8a87b8d777a7ce0bcae127a5d1bd1545bfee561 100644
(file)
--- a/
urcu/static/urcu-qsbr.h
+++ b/
urcu/static/urcu-qsbr.h
@@
-93,7
+93,7
@@
static inline void rcu_debug_yield_write(void)
static inline void rcu_debug_yield_init(void)
{
static inline void rcu_debug_yield_init(void)
{
- URCU_TLS(rcu_rand_yield) = time(NULL) ^ pthread_self();
+ URCU_TLS(rcu_rand_yield) = time(NULL) ^
(unsigned long)
pthread_self();
}
#else
static inline void rcu_debug_yield_read(void)
}
#else
static inline void rcu_debug_yield_read(void)
This page took
0.022926 seconds
and
4
git commands to generate.