Synchronous executor interface

Attila Kelemen attila.kelemen85 at gmail.com
Sun Aug 6 13:43:32 UTC 2023


Robert Engels <rengels at ix.netcom.com> ezt írta (időpont: 2023. aug. 6., V,
15:40):

> Then don’t use an executor and call it directly???
>
> If it’s fully synchronous on the same thread it is a method call.
>
>
>
No. If you read what I wrote in my first email, the problem is that you
don't want to call it plainly, because executors are often used to allow
external code to specify the context some actions are to be executed (e.g.,
to limit concurrency).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230806/c8d1ab7f/attachment.htm>


More information about the loom-dev mailing list