Skip to content

CsJsss/ThreadPool-CPP

Repository files navigation

ThreadPool-CPP

使用cpp实现一个接口友好, 并发安全的线程池.

运行

$ ./build.sh

结果

$ ./build.sh 
running oneProducers ThreadPool

xxx 5000000050000000

finish check oneProducers ThreadPool
=====================================================================
running multiProducers ThreadPool

x xx 5000000050000000

finish check multiProducers ThreadPool
=====================================================================
running benchmark

 oneThreadRun cost time = 78954 ms

 ThreadPool cost time = 11336 ms
finish benchmark
=====================================================================

链接博客

线程池的原理和实现

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published