Synchronous executor interface
Attila Kelemen
attila.kelemen85 at gmail.com
Sun Aug 6 13:18:48 UTC 2023
Robert Engels <rengels at ix.netcom.com> ezt írta (időpont: 2023. aug. 6., V,
15:15):
> Why not use the existing executor services that are not based on virtual
> threads?
>
>
Because the point is that you want to write synchronous code, and I'm not
sure what you are recommending exactly, but this is definitely problematic:
`executor.submit(() -> whatever).get()` for multiple reasons.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230806/5edd1675/attachment-0001.htm>
More information about the loom-dev
mailing list