projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pthread_self should be cast to unsigned long
[userspace-rcu.git]
/
urcu
/
static
/
urcu.h
diff --git
a/urcu/static/urcu.h
b/urcu/static/urcu.h
index 5ba3004ddb17ccef50f69be9925ed8181923d65b..f2293bca5054db275cd52e413a2e954ecd60af86 100644
(file)
--- a/
urcu/static/urcu.h
+++ b/
urcu/static/urcu.h
@@
-146,7
+146,7
@@
static inline void debug_yield_write(void)
static inline void debug_yield_init(void)
{
- rand_yield = time(NULL) ^ pthread_self();
+ rand_yield = time(NULL) ^
(unsigned long)
pthread_self();
}
#else
static inline void debug_yield_read(void)
This page took
0.02809 seconds
and
4
git commands to generate.