Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 5106 invoked from network); 16 Nov 2006 18:16:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2006 18:16:00 -0000 Received: (qmail 5441 invoked by uid 500); 16 Nov 2006 18:16:10 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 5420 invoked by uid 500); 16 Nov 2006 18:16:10 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 5409 invoked by uid 99); 16 Nov 2006 18:16:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 10:16:10 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Nov 2006 10:15:59 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 66B96714324 for ; Thu, 16 Nov 2006 10:15:38 -0800 (PST) Message-ID: <945177.1163700938417.JavaMail.jira@brutus> Date: Thu, 16 Nov 2006 10:15:38 -0800 (PST) From: "Salikh Zakirov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-2217) [drlvm] Improve interrupt() implementation In-Reply-To: <32646686.1163700819259.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-2217?page=all ] Salikh Zakirov updated HARMONY-2217: ------------------------------------ Attachment: 0001-removed-interrupter-thread.patch > [drlvm] Improve interrupt() implementation > ------------------------------------------ > > Key: HARMONY-2217 > URL: http://issues.apache.org/jira/browse/HARMONY-2217 > Project: Harmony > Issue Type: Sub-task > Components: DRLVM > Reporter: Salikh Zakirov > Priority: Minor > Attachments: 0001-removed-interrupter-thread.patch, 0002-refactored-wait_count-to-be-modified-only-from-wait.patch, 0003-replaced-HyThread.monitor-with-HyThread.current_condition.patch > > > This issue contains improvements of interrupt() implementation on top of H-1789-updated.patch from HARMONY-1789: > 0001-removed-interrupter-thread.patch replaces the auxiiliary interrupter thread with direct call to hycond_notify_all(), since this call does not require the monitor to be held > 0002-refactored-wait_count-to-be-modified-only-from-wait.patch fixes wait_count handling, which is broken a bit by 0001 patch. IMHO, modifying wait_count outside of threads waiting on the monitor was not correct in the first place. > 0003-replaced-HyThread.monitor-with-HyThread.current_condition.patch further simplifies interrupt() implementation by removing special case for a thread waiting on a monitor, since it boils down to waiting on a conditional variable. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira