Scoped variables

John Rose john.r.rose at oracle.com
Wed Dec 5 00:05:55 UTC 2018


On Dec 4, 2018, at 1:46 PM, David Lloyd <david.lloyd at redhat.com> wrote:
> 
> In fact
> static thread locals can be used to implement probably most of the
> suggested mechanisms...

That seems unlikely, since in Loom stack frames are carried by
fibers, and fibers freely circulate across threads.  The implication
of this is that fiber mount/unmount would have to push display
information into static thread locals; if there are N of them (statically
defined), then there is Nx as much churn for mount/dismount.
Seems like a dead end to me.


More information about the loom-dev mailing list