On 11/10/22, 5:45 PM, "jetty-users on behalf of Greg Wilkins" <jetty-users-boun...@eclipse.org on behalf of gr...@webtide.com> wrote:
> To my knowledge that cannot happen.... at least not with normal > threads. Perhaps in future with virtual threads, then threadlocals might > be more of a problem, but their usage will be optional in Jetty. Virtual threads don't change things if they're implemented the way they're supposed to be, they intended to maintain the existing contracts for threading in Java, and that includes thread-locals. The whole point of that work in fact is to get people to stop coding up asynchronous designs, because multi-threading is a lot simpler. The async behaviors are supposed to be moved under the covers. -- Scott _______________________________________________ jetty-users mailing list jetty-users@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users