GithubHelp home page GithubHelp logo

melotusme / zl_reactor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lizhenghn123/zl_reactor

0.0 1.0 0.0 2.88 MB

学习C++,学习linux编程,学习网络编程,学习reactor网络模型,自己实现一遍练手;

License: MIT License

C 4.54% Shell 1.64% C++ 90.66% Makefile 1.29% M4 0.44% CMake 1.43%

zl_reactor's Introduction

==========

学习C++,学习windows/linux编程,学习网络编程,学习reactor模型,自己实现一遍练手;

包含(以下实现是Windows/Linux平台通用的,美名其曰跨平台)

  • 基本工具库
    • 日志工具(日志优先级、同步日志、异步日志、带色彩的屏幕输出)
    • 模板单例类
    • 时间戳类
    • 计时器类
    • 日期类
    • 智能断言(静态断言、动态断言)
    • ScopeGuard RAII类
    • STL辅助工具
    • 字符串辅助工具
    • File类(本地文件读取、内存数据映像文件操作)
    • 文件及目录操作工具
    • 异常类及命名重整还原实现
    • 进程属性工具(Linux特有)
    • 多进程master-worker实现(Linux特有)
  • 线程库
    • 信号量
    • 锁(互斥、读写、独占、旋转)
    • 原子计数器
    • 同步waiter
    • (固定大小、不限大小)同步队列(先进先出、先进后出、按优先级出入)
    • TLS
    • 线程池(组)
  • 网络库
    • 网络相关工具
    • socket api的跨平台包装
    • socket RAII类
    • socket address类
    • EventLoop、EventLoopThreadPool
    • IO MultiPlexing(select\poll\epoll\iocp)
    • TimerQueue
    • TcpAcceptor、TcpConnector、TcpConnection、TcpServer
    • eventfd、signalfd、timerfd(Linux特有)
    • simple httpserver
  • 通用工具
    • base64 编解码
    • md5
    • UUID
    • 字符串多种hash实现

感谢

zl_reactor's People

Contributors

lizhenghn123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.