[threads] Use runtime flag to enable cooperative suspend
commita4ac636499cf00012912daeeb9218bda305068c0
authorLudovic Henry <ludovic@xamarin.com>
Sat, 24 Oct 2015 12:09:41 +0000 (24 13:09 +0100)
committerLudovic Henry <ludovic@xamarin.com>
Wed, 28 Oct 2015 18:46:29 +0000 (28 18:46 +0000)
tree20fe5255ed6882e5078334b7bc1c65df599f2ceb
parentb6ae9f231a71068e3177de0bac1cc70cf23fa291
[threads] Use runtime flag to enable cooperative suspend

To enable cooperative suspend, simply set the MONO_ENABLE_COOP
environment variable.
25 files changed:
mono/metadata/gc.c
mono/metadata/marshal.c
mono/metadata/mono-hash.c
mono/metadata/sgen-stw.c
mono/mini/aot-compiler.c
mono/mini/aot-runtime.c
mono/mini/branch-opts.c
mono/mini/mini-amd64.c
mono/mini/mini-arm.c
mono/mini/mini-runtime.c
mono/mini/mini-s390x.c
mono/mini/mini-x86.c
mono/mini/mini.c
mono/mini/mini.h
mono/utils/mono-threads-coop.c
mono/utils/mono-threads-coop.h
mono/utils/mono-threads-mach-abort-syscall.c
mono/utils/mono-threads-mach.c
mono/utils/mono-threads-posix-abort-syscall.c
mono/utils/mono-threads-posix-signals.c
mono/utils/mono-threads-posix.c
mono/utils/mono-threads-windows-abort-syscall.c
mono/utils/mono-threads-windows.c
mono/utils/mono-threads.c
mono/utils/mono-threads.h