X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Fstatic%2Furcu-bp.h;h=d2843b13ca3eb09962a2b20ae6b959b79adca7af;hb=2d72fae24ceebe2efa486b5bad421f39917ec0a6;hp=a2f73687d0a1995e5b3207b9f3fd3b970499d961;hpb=a5a9f428a238e790d6c97299bc214b5cca815cd7;p=userspace-rcu.git diff --git a/urcu/static/urcu-bp.h b/urcu/static/urcu-bp.h index a2f7368..d2843b1 100644 --- a/urcu/static/urcu-bp.h +++ b/urcu/static/urcu-bp.h @@ -93,7 +93,7 @@ static inline void debug_yield_write(void) static inline void debug_yield_init(void) { - URCU_TLS(rand_yield) = time(NULL) ^ pthread_self(); + URCU_TLS(rand_yield) = time(NULL) ^ (unsigned long) pthread_self(); } #else static inline void debug_yield_read(void)