Scoped variables

Andrew Haley aph at redhat.com
Mon Dec 3 16:49:35 UTC 2018


We discussed "scoped variables" as a possible fiber-oriented
replacement for thread locals. I have some interest in this area, so I
was wondering if anyone had started to work on this. If not, I'll
volunteer to propose a design.

These could also be useful even when fibers aren't being used: we'd
want something more efficient than ThreadLocals, but that's a very low
bar. So, please let me know.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the loom-dev mailing list