[threads] Fix conflicting signal with boehm (#4096)
commit742b4841c255345b02b6130ce62359dc451355a6
authorLudovic Henry <ludovic@xamarin.com>
Wed, 7 Dec 2016 01:46:43 +0000 (6 20:46 -0500)
committerGitHub <noreply@github.com>
Wed, 7 Dec 2016 01:46:43 +0000 (6 20:46 -0500)
treed39a68ccb08ffd73969b8008de85015f16c9df28
parent196a882e0268724a09e169f78ff735400ff98635
[threads] Fix conflicting signal with boehm (#4096)

Boehm would use SIGPWR on linux 32/64bits for its suspend signal, but that would conflict with utils/threads suspend signal.

The fix consists in looking for an available realtime signal in utils/threads, and fallback to the default SIGXFSZ, SIGPWR and SIGXCPU
mono/mini/mini-runtime.c
mono/utils/mono-threads-posix-signals.c
mono/utils/mono-threads.c
mono/utils/mono-threads.h