File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,15 +9,13 @@ message("* * * * * * * * * * * * * * * * *")
99
1010cmake_minimum_required (VERSION 3.5.0 )
1111
12- project (CThreadPool VERSION 1.2.1 )
12+ project (CThreadPool VERSION 1.3.0 )
1313
1414set (CMAKE_CXX_STANDARD 11)
1515
1616# add CThreadPool environment info
1717include (cmake/CThreadPool-env-include.cmake )
1818
19- file (GLOB_RECURSE CTP_SRC_LIST "./src/*.cpp" )
20-
2119# 如果开启此宏定义,则CGraph执行过程中,不会在控制台打印任何信息
2220# add_definitions(-D_CGRAPH_SILENCE_)
2321
@@ -27,6 +25,6 @@ file(GLOB_RECURSE CTP_SRC_LIST "./src/*.cpp")
2725# 编译libCThreadPool静态库
2826# add_library(CThreadPool STATIC ${CTP_SRC_LIST})
2927
30- add_executable (CThreadPool
28+ add_executable (tutorial
3129 ${CTP_SRC_LIST}
3230 tutorial.cpp )
Original file line number Diff line number Diff line change 1010</h1 >
1111
1212## 一. 简介
13- ` CThreadPool ` 是一个跨平台的、无任何三方依赖的、高性能的C++11(含以上版本)版本的线程池,也是 [ CGraph] ( https://github.com/ChunelFeng/CGraph ) 项目中使用的跨平台线程池组件功能的最小集。
13+ ` CThreadPool ` 是一个跨平台的、无任何三方依赖的、head-only的、 高性能的C++11(含以上版本)版本的线程池,也是 [ CGraph] ( https://github.com/ChunelFeng/CGraph ) 项目中使用的跨平台线程池组件功能的最小集。
1414
1515经过CGraph和关联项目的长期迭代和验证,功能已经趋于稳定,且性能优异。因为咨询相关内容的朋友较多,故做为独立的仓库提供出来,方便大家使用。
1616
@@ -87,6 +87,9 @@ int main() {
8787* 更新执行策略,优化整体性能
8888* 修复辅助线程唤醒延时的问题
8989
90+ [2025.04.17 - v1.3.0 - Chunel]
91+ * 提供 head-only 版本
92+
9093------------
9194#### 附录-2. 联系方式
9295* 微信: ChunelFeng
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments