[coop] Add thread_state_init that initializes the thread from the current stack state.
authorRodrigo Kumpera <kumpera@gmail.com>
Sat, 8 Aug 2015 14:15:11 +0000 (10:15 -0400)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 10 Aug 2015 14:23:18 +0000 (10:23 -0400)
commit5604e0b5940a1df7059d11158b36fbde9a3c056d
tree0511e85c35e63a670951e6696bc4fa09381c3f3e
parent21e9c31515740663123389ace0fde110665323c7
[coop] Add thread_state_init that initializes the thread from the current stack state.

This new function works differently that others in that it always succeed, but might
provide incomplete data in some cases - like when the thread is not attached.
mono/mini/mini-exceptions.c
mono/mini/mini-runtime.c
mono/mini/mini.h
mono/utils/mono-threads.h