Cleanup: cast pthread_self() return value to unsigned long
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Nov 2012 20:28:59 +0000 (15:28 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Nov 2012 20:32:21 +0000 (15:32 -0500)
commit2d72fae24ceebe2efa486b5bad421f39917ec0a6
tree3bf733206ed764ba446a3655ec57de2272c497c8
parente3378d48162f484bb8bc94d77ce55d7d3ee018ed
Cleanup: cast pthread_self() return value to unsigned long

pthread_t can map to other things that unsigned long (e.g. pointer).
Cast it to unsigned long for debug printing and for debug delay random
value purposes.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
23 files changed:
tests/test_mutex.c
tests/test_perthreadlock.c
tests/test_perthreadlock_timing.c
tests/test_rwlock.c
tests/test_rwlock_timing.c
tests/test_urcu.c
tests/test_urcu_assign.c
tests/test_urcu_bp.c
tests/test_urcu_defer.c
tests/test_urcu_gc.c
tests/test_urcu_hash.c
tests/test_urcu_hash_rw.c
tests/test_urcu_hash_unique.c
tests/test_urcu_lfq.c
tests/test_urcu_lfs.c
tests/test_urcu_qsbr.c
tests/test_urcu_qsbr_gc.c
tests/test_urcu_qsbr_timing.c
tests/test_urcu_timing.c
tests/test_urcu_wfq.c
tests/test_urcu_wfs.c
urcu/static/urcu-bp.h
urcu/static/urcu-qsbr.h
This page took 0.027567 seconds and 4 git commands to generate.