Fix build on platforms where native thread IDs are not pointer sized
commit5d6a5f6b0de0ff946eb96f1a190e241e2ded1102
authorAndi McClure <andi.mcclure@xamarin.com>
Fri, 15 Jan 2016 19:18:56 +0000 (15 14:18 -0500)
committerAndi McClure <andi.mcclure@xamarin.com>
Fri, 15 Jan 2016 19:18:56 +0000 (15 14:18 -0500)
tree0b10e83ae6cfe869b4320566e58f841b9ea0799d
parentf73b752db56bba83254d4b5212bf9076eb9349cc
Fix build on platforms where native thread IDs are not pointer sized

Certain of our debug prints assume thread ids can be cast directly to
a pointer. This does not work on platforms where thread IDs are ints.
mono/metadata/sgen-os-posix.c
mono/metadata/sgen-os-win32.c
mono/metadata/sgen-stw.c
mono/mini/debugger-agent.c
mono/sgen/sgen-gc.c
mono/utils/hazard-pointer.c