Coder Social home page Coder Social logo

Comments (1)

oldratlee avatar oldratlee commented on July 26, 2024

...不用...,使用起来也是好的,...

@bigbaldy1128 请做好测试与分析评估。如果你确定(在你的场景中)不用是OK的,则无需使用。😄


虚拟线程的设计实现,在用户使用和功能上,期望虚拟线程和线程是一样的(透明的)。
(其它方面有的差异,可以调研以了解)

即基于ThreadLocal的上下文传递,因为如 在线程池中线程复用、嵌套任务执行 所带来的问题,虚拟线程也一样存在。
具体可以调研了解TTL的资料,如要解决的问题/场景、设计与实现的机制。@bigbaldy1128


TTL支持Java 21/虚拟线程;如有Bug可以提 issue。💕

from transmittable-thread-local.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.