Linux多线程服务端编程-AWS.PDF
Linux
muduoC++
(giantchen@)
C++
TCP
C++ x86-64Linux TCP
one loop
per threadLinux native
muduo
C++
IT 5
C++
muduo2 C++
C++Primer 4
W.Richard Stevens UNIX Sockets API
echo
Sockets
• • UNIX
fork()
• TCP
select(2)/poll(2)/epoll(4) IO
IO
• OOBIO CPU 100%
• libevent
• C struct
C/C++
IO
•
UNIX CPU
IO
UNIX 2 IPC
• •
C++STL
• C++
•
Linux muduo C++
C++ x86-64Linux TCP
5
IO oneloopperthread
Linux native
muduo
muduo IO C++ one
loop per