GithubHelp home page GithubHelp logo

wanily / zl_threadpool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lizhenghn123/zl_threadpool

0.0 1.0 0.0 13 KB

Linux平台下C++(C++98、C++03、C++11)实现的线程池

License: MIT License

Makefile 5.93% C++ 94.07%

zl_threadpool's Introduction

zl_threadpool : 三个版本的线程池实现

Build Status

Linux平台下C++(C++98、C++03、C++11)实现的线程池

  • ThreadPoolCpp98

      最古老的做法,只使用了C++98语言规范,采用**面向对象的思路**,每一个任务都是一个子类对象;
    
  • ThreadPoolCpp03

      较新做法,使用C++03语言规范,还有C++0x(特指std::function + std::bind),与上面不同的是采用
      **基于对象的思路**,每一个任务都是一个std::function对象,std::function,std::bind真是好;
    
  • ThreadPoolCpp11

      最新做法,**完全采用C++11**技术,比如std::thread, mutex, condition_variable, atomic组件,
      还有lambda技巧,packaged_task, future等等;
    

zl_threadpool's People

Contributors

lizhenghn123 avatar

Watchers

James Cloos 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.