-
- Downloads
Epoll based multipoller
This is a multipoller based on epoll rather than poll. Note that this implementation is aimed at correctness rather than performance, although it should immediately have better scalability to large numbers of FDs, both due to epoll's O(1) sized API and due to not needing to wake up polling threads to do interest set changes. One notable difference here is that we directly attach a wakeup fd rather than using the freelisting kick mechanism that the poll() based implementations use, because modifying the epoll set to use a different kick fd each time isn't free.
Showing
- Makefile 5 additions, 0 deletionsMakefile
- build.json 1 addition, 0 deletionsbuild.json
- include/grpc/support/port_platform.h 1 addition, 1 deletioninclude/grpc/support/port_platform.h
- src/core/iomgr/pollset_multipoller_with_epoll.c 199 additions, 0 deletionssrc/core/iomgr/pollset_multipoller_with_epoll.c
- src/core/iomgr/pollset_multipoller_with_poll_posix.c 5 additions, 1 deletionsrc/core/iomgr/pollset_multipoller_with_poll_posix.c
- src/core/iomgr/pollset_posix.c 8 additions, 3 deletionssrc/core/iomgr/pollset_posix.c
- src/core/iomgr/pollset_posix.h 1 addition, 0 deletionssrc/core/iomgr/pollset_posix.h
- test/core/iomgr/tcp_client_posix_test.c 1 addition, 0 deletionstest/core/iomgr/tcp_client_posix_test.c
- vsprojects/vs2013/grpc.vcxproj 2 additions, 0 deletionsvsprojects/vs2013/grpc.vcxproj
- vsprojects/vs2013/grpc.vcxproj.filters 3 additions, 0 deletionsvsprojects/vs2013/grpc.vcxproj.filters
- vsprojects/vs2013/grpc_unsecure.vcxproj 2 additions, 0 deletionsvsprojects/vs2013/grpc_unsecure.vcxproj
- vsprojects/vs2013/grpc_unsecure.vcxproj.filters 3 additions, 0 deletionsvsprojects/vs2013/grpc_unsecure.vcxproj.filters
Loading
Please register or sign in to comment