A lightweight thread is a Thread

Alan Bateman Alan.Bateman at oracle.com
Wed Oct 23 11:08:23 UTC 2019


On 23/10/2019 11:57, Volkan Yazıcı wrote:
> I am assuming the distinction will still be accessible by the user 
> code, right? That is, one could think of cases which necessitate "if 
> (currentThreadIsFiber) { doSth(); } else { doSthElse(); }".
>
Yes, its Thread::isLightweight in the current prototype.

-Alan.


More information about the loom-dev mailing list