Java’s Lock interface provides the methods lock and lockInterruptably, the former not responding even to user interrupts.

In what world would I ever want to lock non-interruptably?

Follow

Now that I’m trying to work with the API, this seems like a dumb question. Checked exceptions are too burdensome.

Sign in to participate in the conversation
Mastodon

A private Mastodon instance