[concurrency-interest] ManagedBlocker.block() documentation

Doug Lea dl at cs.oswego.edu
Wed Oct 30 09:49:22 EDT 2019


On 10/30/19 3:23 AM, Roman Leventov via Concurrency-interest wrote:
> Currently, ManagedBlocker's documentation doesn't clarify whether the
> execution framework could call block() more than once or not. The
> specification for the return value of block() method:

This seems implicit in the interface-level description, but we'll add a
clarification:

     * Method {@code block} is not invoked after a prior invocation of
     * {@code isReleasable} or {@code block} return {@code true}.
     *

-Doug



More information about the Concurrency-interest mailing list