threadlocal topic

List threadlocal repositories

transmittable-thread-local

7.3k
Stars
1.7k
Forks
Watchers

📌 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.

PLMCodeTemplate

1.9k
Stars
540
Forks
Watchers

给部门制定的代码框架模板

distarch

142
Stars
39
Forks
Watchers

Java分布式系统架构。包括分布式锁,一致性哈希,分库分表,单点登录,缓存,消息队列等

routine

196
Stars
22
Forks
Watchers

ThreadLocal for Golang.

routine

111
Stars
19
Forks
Watchers

Provides some convenient API, includes Goid(), GetG() and LocalStorage, which is a goroutine's local storage, just like ThreadLocal in other languages.

async-local-storage

72
Stars
12
Forks
Watchers

local storage that is shared between all stack frames (top down) in a call chain, including async function

Java单例模式及其多线程下的实现,包括六种线程安全实现和一种非线程安全实现(经典懒汉式)。

context-propagation

17
Stars
8
Forks
Watchers

Propagate snapshots of ThreadLocal values to another thread

concurrent-framework

17
Stars
16
Forks
Watchers

a concurrent framework from netty that contains: promise-framework, fastThreadLocal-framework, etc. 一个从netty抽取出来的通用并发框架,包含:promise-framework, fastThreadLocal-framework, 等等。