Re:Java 21 Released
by wiseowise on Tuesday September 19, 2023 @11:51AM
(#37571747)
What if file exists operation MUST be sync?
[ Parent
| on HN ]
Then you don’t start it in a virtual thread. Your calls automatically become blocking or not blocking depending on your callsites, which is the proper place to decide that.