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:28:59 +0000 (15:28 -0500)
commit6ff854acfa013195bdb71dddc654ec76a4c296c9
treeeafa36e1c2c6297c3c4633b1f4b045a6310eb186
parent8cbc3cdca7f1320e3c2412654091fe94931ce62b
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>
25 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_lfs_rcu.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_wfcq.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.028367 seconds and 4 git commands to generate.