Structured Concurrency, today

Christian Stein sormuras at gmail.com
Tue Jun 16 15:19:31 UTC 2020


On Tue, Jun 16, 2020 at 1:27 PM Alan Bateman <Alan.Bateman at oracle.com>
wrote:

> 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.
>
>
Understood.

I couldn't resist, though:
https://sormuras.github.io/blog/2020-06-16-structured-concurrency-today

Would it make sense to integrate (part of) the ExecutorService-related
changes already into the main line ... for testing them with 16-ea builds?


More information about the loom-dev mailing list