[threadpool-io] Rework backend API
authorLudovic Henry <ludovic@xamarin.com>
Thu, 13 Aug 2015 17:55:28 +0000 (14:55 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 24 Aug 2015 20:03:52 +0000 (16:03 -0400)
commit716ba68c1b56d02c4a5766ca0f0785a32412287a
tree7686d5b4c1982e0d8ad2ebbb36e9e498ca0857f7
parent2e26dfa8bffee485043df7fdeb59bb3eb4832ada
[threadpool-io] Rework backend API

The main change is the fd will not be removed from the backend when there is no event to poll, but only when we close the socket. This also reduce the number of functions of the backend.
mono/metadata/threadpool-ms-io-epoll.c
mono/metadata/threadpool-ms-io-kqueue.c
mono/metadata/threadpool-ms-io-poll.c
mono/metadata/threadpool-ms-io.c