curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Zimmerman (JIRA)" <>
Subject [jira] [Resolved] (CURATOR-283) LockInternals does not deal with spurious weakup?
Date Tue, 22 Dec 2015 15:22:46 GMT


Jordan Zimmerman resolved CURATOR-283.
    Resolution: Invalid

Jira is best to report problems/issues. If this is causing an issue please create a new Jira
with details and an example of the problem. For discussions of Curator details, please use
the @user or @dev mailing list.

In this case, there's no reason to have such a coarse sync. The code works fine as it is AFAIK.
Is there a problem that you are seeing?

> LockInternals does not deal with spurious weakup?
> -------------------------------------------------
>                 Key: CURATOR-283
>                 URL:
>             Project: Apache Curator
>          Issue Type: Test
>          Components: Recipes
>            Reporter: csulyj
>            Priority: Trivial
> I don't understand why method internalLockLoop doesn't not deal with spurious weakup?
> I think it should be like this : 
>  synchronized (obj) {
>      while (condition does not hold)
>         obj.wait(timeout);
>          ... // Perform action appropriate to condition
>  }

This message was sent by Atlassian JIRA

View raw message