brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request #860: improve locking for sensor values
Date Wed, 11 Oct 2017 20:28:31 GMT
GitHub user ahgittin opened a pull request:

    https://github.com/apache/brooklyn-server/pull/860

    improve locking for sensor values

    fixes https://issues.apache.org/jira/browse/BROOKLYN-544
    
    introducing a public Lock for writes and callers, and the weaker uglier monitor for very
short internal synchronized blocks.
    also adds a Locks convenience class for running code with a lock.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ahgittin/brooklyn-server fix-attributes-value-deadlock

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/brooklyn-server/pull/860.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #860
    
----
commit 22178b6587ca394f2da1b2f8fbd40734c691ae97
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Date:   2017-10-11T19:50:22Z

    improve locking for sensor values
    
    fixes https://issues.apache.org/jira/browse/BROOKLYN-544,
    introducing a public Lock for writes and callers, and the weaker uglier monitor for very
short internal synchronized blocks.
    also adds a Locks convenience class for running code with a lock.

----


---

Mime
View raw message