From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25378 invoked by alias); 23 Nov 2007 11:09:34 -0000 Received: (qmail 25352 invoked by uid 9112); 23 Nov 2007 11:09:34 -0000 Date: Fri, 23 Nov 2007 11:09:00 -0000 Message-ID: <20071123110934.25337.qmail@sourceware.org> From: mark@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: * CountDownLatch.java (await): Mark as synchronized. X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 08ac5754d8dfc76ec585a61611b315f17e08acc0 X-Git-Newrev: 0a57bd86cdd2366aeadf6833c871331ba0c9ae41 Mailing-List: contact frysk-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-cvs-owner@sourceware.org Reply-To: frysk@sourceware.org X-SW-Source: 2007-q4/txt/msg00440.txt.bz2 The branch, master has been updated via 0a57bd86cdd2366aeadf6833c871331ba0c9ae41 (commit) from 08ac5754d8dfc76ec585a61611b315f17e08acc0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 0a57bd86cdd2366aeadf6833c871331ba0c9ae41 Author: Mark Wielaard Date: Fri Nov 23 12:09:16 2007 +0100 * CountDownLatch.java (await): Mark as synchronized. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/util/ChangeLog | 7 ++++++- frysk-core/frysk/util/CountDownLatch.java | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/util/ChangeLog b/frysk-core/frysk/util/ChangeLog index 0eb921d..f3b20f5 100644 --- a/frysk-core/frysk/util/ChangeLog +++ b/frysk-core/frysk/util/ChangeLog @@ -1,3 +1,7 @@ +2007-11-23 Mark Wielaard + + * CountDownLatch.java (await): Mark as synchronized. + 2007-11-22 Tim Moore * CountDownLatch.java (await): Loop to avoid spurious wakeup. @@ -11,7 +15,8 @@ * X8664LinuxElfCorefile.java: Fix typo; "eflags" -> "rflags". 2007-11-09 Jose Flavio Aguilar Paulino - * LinuxElfCorefileFactory.java: Removed Power little endian. + + * LinuxElfCorefileFactory.java: Removed Power little endian. 2007-10-22 Phil Muldoon diff --git a/frysk-core/frysk/util/CountDownLatch.java b/frysk-core/frysk/util/CountDownLatch.java index b191782..f9d548f 100644 --- a/frysk-core/frysk/util/CountDownLatch.java +++ b/frysk-core/frysk/util/CountDownLatch.java @@ -53,7 +53,7 @@ public class CountDownLatch { this.count = count; } - public void await() + public synchronized void await() throws InterruptedException { while (count != 0) { try { @@ -102,4 +102,4 @@ public class CountDownLatch { public String toString() { return super.toString() + " [Count=" + getCount() + "]"; } -} \ No newline at end of file +} hooks/post-receive -- frysk system monitor/debugger