Structured Concurrency, today

Alan Bateman Alan.Bateman at oracle.com
Tue Jun 16 11:27:43 UTC 2020


On 16/06/2020 07:53, Christian Stein wrote:
> Hi,
>
> in preparation of using Loom's virtual threads as soon as available,
> I wonder if I leave out every "virtual"-related literal from the code
> snippets presented at the excellent article at [0] ... would it work
> today using a JRE w/o Loom? With system threads, of course.
>
> What about the nesting feature?
>
These examples rely on ExecutorService extending AutoCloseable and also 
on factory methods that aren't in the main line. So sorry, not right now.

-Alan


More information about the loom-dev mailing list