[threads] Import mono_thread_info_set_priority (#3543)
authorLudovic Henry <ludovic@xamarin.com>
Tue, 13 Sep 2016 16:41:29 +0000 (18:41 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Sep 2016 16:41:29 +0000 (18:41 +0200)
commitbdaef1e697f8763cb7ed6946f4d9b44319aeb4ad
treef5f4a951c0778196f1785996a386638e4a808350
parenta26fda4e8c791516981f70190d6f5203a678bc12
[threads] Import mono_thread_info_set_priority (#3543)

* [mono-threads] Remove MonoThreadParm.creation_flags

* [mono-threads] Remove MonoThreadParm.priority and set to MONO_THREAD_PRIORITY_NORMAL by default

* [threads] Wrap use of mono_thread_info_(get|set)_priority

* [threads] Store priority on MonoInternalThread

* [threads] Import mono_thread_info_set_priority

* [mono-threads] Remove MonoThreadParm
12 files changed:
mcs/class/corlib/System.Threading/Thread.cs
mono/metadata/appdomain.c
mono/metadata/attach.c
mono/metadata/object-internals.h
mono/metadata/threads-types.h
mono/metadata/threads.c
mono/mini/aot-compiler.c
mono/mini/debugger-agent.c
mono/utils/mono-threads-posix.c
mono/utils/mono-threads-windows.c
mono/utils/mono-threads.c
mono/utils/mono-threads.h