Re: Enrich the Lock interface

2023-08-21 Thread Albert Attard
feasible? With kind regards, Albert Attard On Mon, 21 Aug 2023 at 15:33, John Hendrikx wrote: > I couldn't find a discussion on openjdk, but for those interested (and > to save others some searching) there is a JBS ticket: > > https://bugs.openjdk.org/browse/JDK-8025597 > >

Enrich the Lock interface

2023-08-21 Thread Albert Attard
;); lock(); try { return supplier.get(); } finally { unlock(); } } Any thoughts? With kind regards, Albert Attard