[mono-threads] Split platform and suspend specific functions
commitbd3e01a6ec1f8baf5e3db0195628e98927ba56e9
authorLudovic Henry <ludovic@xamarin.com>
Wed, 6 Jul 2016 13:08:06 +0000 (6 15:08 +0200)
committerLudovic Henry <ludovic@xamarin.com>
Thu, 4 Aug 2016 13:00:05 +0000 (4 15:00 +0200)
tree7b86fb9cbcb89d564a724d498c468ab1126f2246
parentdfa6daf9ede6a4a0b8b47b27b9db1ff0ddadca85
[mono-threads] Split platform and suspend specific functions

We split mono-threads-{posix,windows,mach}.c functions in 2 categories:
 - platform: depends on the host the runtime is compiled on (possible values: posix or windows)
 - suspend: depends on the mono-threads suspend backend in use (possible values: posix, windows or mach)
13 files changed:
mono/utils/mono-threads-android.c
mono/utils/mono-threads-coop.c
mono/utils/mono-threads-freebsd.c
mono/utils/mono-threads-linux.c
mono/utils/mono-threads-mach-abort-syscall.c
mono/utils/mono-threads-mach.c
mono/utils/mono-threads-openbsd.c
mono/utils/mono-threads-posix-abort-syscall.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