Add MonoThreadInfo::runtime_thread so we can know if this thread is managed by the...
commit255af30e1d97f74a464bdabf774f8919b449b4e8
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 25 Apr 2013 19:51:49 +0000 (25 15:51 -0400)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 25 Apr 2013 19:56:45 +0000 (25 15:56 -0400)
tree478753faf79ced0a94952f5e401cfb181244a546
parent830f402047d4ca30b0b7c704367af5ada3dd2356
Add MonoThreadInfo::runtime_thread so we can know if this thread is managed by the runtime or not.

* mono-threads.h: Add new field to MonoThreadInfo.

* threads.c: New API function mono_thread_is_foreign that allows one to query if a given thread
is foreign or not.
mono/metadata/threads.c
mono/metadata/threads.h
mono/utils/mono-threads-posix.c
mono/utils/mono-threads-windows.c
mono/utils/mono-threads.h