📌 a missing Java std lib(simple & 0-dependency) for framework/middleware, provide an enhanced InheritableThreadLocal that transmits values between threads even using thread pooling components.

threadlocal 开源项目推荐(42 个)
threadlocal 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 42 个仓库Python的依赖注入框架
给部门制定的代码框架模板
ThreadLocal for Golang.
Java分布式系统架构。包括分布式锁,一致性哈希,分库分表,单点登录,缓存,消息队列等
Provides some convenient API, includes Goid(), GetG() and LocalStorage, which is a goroutine's local storage, just like ThreadLocal in other languages.
local storage that is shared between all stack frames (top down) in a call chain, including async function
基于springboot , zookeeper , redis 分布式事务强一致性方案
API propagating context of ThreadLocal values to other threads
该项目在 GitHub 上没有填写描述
a concurrent framework from netty that contains: promise-framework, fastThreadLocal-framework, etc. 一个从netty抽取出来的通用并发框架,包含:promise-framework, fastThreadLocal-framework, 等等。
Java单例模式及其多线程下的实现,包括六种线程安全实现和一种非线程安全实现(经典懒汉式)。
Provides the basis for implementing the Ambient Context pattern, as well as a Clock implementation based on it.
POC to demonstrate automation of entity fields such as created_at, created_by, updated_by using JPA @Embedded, @embeddable and ThreadLocal
Goroutine Local Storage
we be jammin'
Example of selenium test using Page-Object-Model running on Maven build, TestNG framework and Allure Report.
通过分享、研究和病例数据分析,尤其对一些慢性病和罕见病,为各地的患者提供相似病例搜索和相关治疗、交流的服务
ThreadLocal 教程,语雀浏览链接:https://www.yuque.com/happyflyer/java-topics/obpp0b
尚硅谷Javaweb教程网上书城项目完整版,订单模块完整,jdbcutilfilter与threadLocal连用部分我使用后有数据库并发错误,能力有限,改不出来,就改回了不用thread local的版本,有高手看到后解决了请给我个链接
关于这个话题
- 清单取自 GitHub 话题页并按 Star 数排序,每次展示前 20 个项目;原始页面见 https://github.com/topics/threadlocal。
- 该话题在 GitHub 上共有 42 个仓库, 本站收录的是其中最热门的 20 个,不是全量列表。
- Star / Fork 每日自动刷新一次,实时数据以 GitHub 为准。
- 当前 20 个项目累计 1.6 万 Star,覆盖 6 种主要语言,数据更新于 2026-11-07。
- 中文介绍来自 GitHub 官方话题说明(github/explore)的机器翻译,可点「查看原文」对照;译文缺失时会先展示原文。