apache/thrift — pull request #146 by anthonywei (2014-06-24 08:03:31+00:00)
Title: add cpp lib that support epoll server, thus we can use epoll and multi p...

this version support thrift with c++ server use epoll and multiprocess

add four files as follows:

server/TEpollServer.h
server/TEpollServer.cpp

transport/TServerEpollSocket.h
transport/TServerEpollSocket.cpp

Advantags: we use epoll to watch the connections events, not use recv() and timeout. more effective. And also it is even more effective than recv() + timeout + multi-thread and also it is of simlity. you do not need to care about thread-safe class, objects and anything.