[threadpool] Split domain and worker management (#4117)
authorLudovic Henry <ludovic@xamarin.com>
Fri, 9 Dec 2016 20:40:28 +0000 (15:40 -0500)
committerGitHub <noreply@github.com>
Fri, 9 Dec 2016 20:40:28 +0000 (15:40 -0500)
commit5e845a3bc96ed7dd9058c7d47ad1dee28320bfc3
treeeb07bf5aa01fa1b29c7e1082ed23136dca941195
parentfcf7d1f425615aa5bf7f02c56247a4764359549d
[threadpool] Split domain and worker management (#4117)

* [threadpool] Remove `-ms` suffix

* [threadpool] Split domain and worker management

This will allow us to use native threadpool more easily: we will simply have to implement a threadpool worker with the specific API.

On windows, we will use the Win32 Threadpool, and on OSX we will explore using GCD (Grand Central Dispatch).
29 files changed:
mono/metadata/Makefile.am
mono/metadata/appdomain.c
mono/metadata/console-unix.c
mono/metadata/gc.c
mono/metadata/icall.c
mono/metadata/marshal.c
mono/metadata/runtime.c
mono/metadata/socket-io.c
mono/metadata/threadpool-io-epoll.c [new file with mode: 0644]
mono/metadata/threadpool-io-kqueue.c [new file with mode: 0644]
mono/metadata/threadpool-io-poll.c [new file with mode: 0644]
mono/metadata/threadpool-io.c [new file with mode: 0644]
mono/metadata/threadpool-io.h [new file with mode: 0644]
mono/metadata/threadpool-ms-io-epoll.c [deleted file]
mono/metadata/threadpool-ms-io-kqueue.c [deleted file]
mono/metadata/threadpool-ms-io-poll.c [deleted file]
mono/metadata/threadpool-ms-io.c [deleted file]
mono/metadata/threadpool-ms-io.h [deleted file]
mono/metadata/threadpool-ms.c [deleted file]
mono/metadata/threadpool-ms.h [deleted file]
mono/metadata/threadpool-worker-default.c [new file with mode: 0644]
mono/metadata/threadpool-worker.h [new file with mode: 0644]
mono/metadata/threadpool.c [new file with mode: 0644]
mono/metadata/threadpool.h [new file with mode: 0644]
mono/metadata/w32process-win32.c
mono/mini/debugger-agent.c
mono/utils/mono-lazy-init.h
msvc/libmonoruntime.vcxproj
msvc/libmonoruntime.vcxproj.filters