[coop handles] Add mono_internal_thread_handle_ptr () function
authorAleksey Kliger <aleksey@xamarin.com>
Fri, 2 Jun 2017 20:11:42 +0000 (16:11 -0400)
committerAleksey Kliger <aleksey@xamarin.com>
Mon, 5 Jun 2017 19:01:47 +0000 (15:01 -0400)
commit65b981632ca57fbed32ba3f71318dc7627b3626f
treeb437dc18ab43db691e1e57faa6d993706e9b5ef1
parent6544bcfda8be316152cde4248b0fc7090746afd6
[coop handles] Add mono_internal_thread_handle_ptr () function

MonoInternalThreadHandle is not really needed - all MonoInternalThread
instances are supposed to be pinned.  But for uniformity, the icall marshaller
makes handles anyway.  This function lets us get back to a raw ptr.
mono/metadata/handle.h
mono/metadata/object-internals.h