Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
Z

zl_threadpool

> 编程语言
Open source

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

648 stars0 likes1 views
WebsiteGitHub

About

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

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

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等等;

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++zl-threadpool

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言