alibaba / transmittable-thread-local

📌 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.
https://github.com/alibaba/transmittable-thread-local
Apache License 2.0
7.35k stars 1.67k forks source link

父线程调用remove清除缓存后,是否需要子线程显式romove #638

Closed luocunhao closed 2 months ago

luocunhao commented 2 months ago

RT

oldratlee commented 2 months ago

正确使用的情况下,不需要,原因是在restore过程做恢复(清除)。

更多参见: @luocunhao