Home > Back-end > Linux under two long chain is established
Linux under two long chain is established
Time:12-15
Want to use epoll establish two long chains, a after receiving the message processing, again through the thread handle receiving data, the results through the long chain is sent to a third party, the second is the first long chain wait for events, processing results, the processing threads need to put it in again into a wait state, or directly to send a second long chain lock this thread
CodePudding user response:
An epoll is solved? Monitoring, speaking, reading and writing can at the same time, Actually the PThread threads seem quite high efficiency, and the basic same, epoll,