feat(thread): 新增线程工具集与线程池构建体系 #1

Merged
minglipro merged 2 commits from feat/thread-tools into master 2026-10-20 20:11:05 +08:00
Owner
  • ThreadPoolBuilder: DSL 风格线程池构建器,含 fixed/single/cached/io/cpu/scheduled 预设
  • GlobalThreadPool: 全局 IO/CPU/定时三类共享线程池及便捷提交函数
  • ThreadPoolMonitor: 线程池运行快照与周期监控
  • ThreadPoolExt: ExecutorService/Future/CompletableFuture 便捷扩展
  • AsyncTasks: 并行执行、竞速执行、重试与定时任务编排
  • ThreadLocalDelegates: ThreadLocal 属性委托
  • ThreadExt: Thread/Runnable 扩展与守护线程便捷创建
  • ThreadUtils 增强: 休眠、线程枚举、全线程栈转储
  • ThreadEvent 增强: operator invoke、属性委托、isSet 与超时取数
  • 移除 pool 包旧 ThreadPool.kt
  • 新增 5 个测试类共 83 个单元测试
- ThreadPoolBuilder: DSL 风格线程池构建器,含 fixed/single/cached/io/cpu/scheduled 预设 - GlobalThreadPool: 全局 IO/CPU/定时三类共享线程池及便捷提交函数 - ThreadPoolMonitor: 线程池运行快照与周期监控 - ThreadPoolExt: ExecutorService/Future/CompletableFuture 便捷扩展 - AsyncTasks: 并行执行、竞速执行、重试与定时任务编排 - ThreadLocalDelegates: ThreadLocal 属性委托 - ThreadExt: Thread/Runnable 扩展与守护线程便捷创建 - ThreadUtils 增强: 休眠、线程枚举、全线程栈转储 - ThreadEvent 增强: operator invoke、属性委托、isSet 与超时取数 - 移除 pool 包旧 ThreadPool.kt - 新增 5 个测试类共 83 个单元测试
minglipro added 1 commit 2026-10-19 21:13:14 +08:00
- ThreadPoolBuilder: DSL 风格线程池构建器,含 fixed/single/cached/io/cpu/scheduled 预设
- GlobalThreadPool: 全局 IO/CPU/定时三类共享线程池及便捷提交函数
- ThreadPoolMonitor: 线程池运行快照与周期监控
- ThreadPoolExt: ExecutorService/Future/CompletableFuture 便捷扩展
- AsyncTasks: 并行执行、竞速执行、重试与定时任务编排
- ThreadLocalDelegates: ThreadLocal 属性委托
- ThreadExt: Thread/Runnable 扩展与守护线程便捷创建
- ThreadUtils 增强: 休眠、线程枚举、全线程栈转储
- ThreadEvent 增强: operator invoke、属性委托、isSet 与超时取数
- 移除 pool 包旧 ThreadPool.kt
- 新增 5 个测试类共 83 个单元测试
minglipro marked the pull request as work in progress 2026-10-19 21:14:57 +08:00
minglipro marked the pull request as ready for review 2026-10-19 21:15:14 +08:00
minglipro added 1 commit 2026-10-20 20:05:46 +08:00
minglipro merged commit 390afa5462 into master 2026-10-20 20:11:05 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minglipro/mingli-utils#1