Event-driven network library for multi-threaded Linux server in C++11
Event-driven network library for multi-threaded Linux server in C++11
Muduo is a multithreaded C++ network library based on the reactor pattern.
http://github.com/chenshuo/muduo
Copyright (c) 2010, Shuo Chen. All rights reserved.
Use of this source code is governed by a BSD-style license that can be found in the License file.
Requires: Linux kernel version >= 2.6.28. GCC >= 4.7 or Clang >= 3.5 Boost (for boost::any only.)
Tested on: Debian 7 and above Unbuntu 14.04 and above CentOS 7 and above
Install required packages:
$ sudo apt install g++ cmake make libboost-dev
$ sudo yum install gcc-c++ cmake make boost-devel
See .travis.yml for additional packages for building more examples.
To build, run: ./build.sh
See https://github.com/chenshuo/muduo-tutorial for how to use muduo in your project.
| / | | |
| \ / |_ _ | |_ _ ___
| |/| | | | |/ ` | | | |/ _
| | | | || | (| | || | () |
|| ||_,|_,|_,_|_/
Build errors for C++ 15 or higher
EventLoopThread::startLoop()中为什么需要创建局部变量loop?是否可以返回loop_?
ttcp_asio_async.cc compilation failure with Boost >= 1.74
[bug] Controllable stack overflow in `muduo::TimeZone::loadZoneFile` through crafted timezone file
./muduo/net/EventLoopThreadPool.cc:42:14: error: variable length arrays in C++ are a Clang extension
安装muduo库 一直报链接错误找不到boost里面的函数 帮帮孩子吧
Build Error
Build Error!!! How to fix it?
Build Error !!
Build error