Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 62038 invoked from network); 16 Nov 2009 06:29:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 06:29:11 -0000 Received: (qmail 48460 invoked by uid 500); 16 Nov 2009 06:29:10 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 48365 invoked by uid 500); 16 Nov 2009 06:29:10 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 48353 invoked by uid 99); 16 Nov 2009 06:29:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 06:29:10 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clraychen@gmail.com designates 209.85.211.184 as permitted sender) Received: from [209.85.211.184] (HELO mail-yw0-f184.google.com) (209.85.211.184) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 06:29:08 +0000 Received: by ywh14 with SMTP id 14so4413131ywh.20 for ; Sun, 15 Nov 2009 22:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=N8fDNppzQAoa65ICC4i1WoWTK13QjhgWXCy57I31yY0=; b=iWkUmMj9nWqag+4gbNs9kaqlkzjKnxlUWHteKLezl7xqiqBMLO3ZCa5q1I74ndsaGR LfrAzInSHGB5hnxDin10y5BzVi9PFCBz5o5CwqW78Wo+Po5BWh9rBbFPQOpI9L5Th3/o TB9YO4IhUky+X7FS2QyUrKK3mPvBFdOSx0M2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fYR8pB5qCB3LgO9WDGKz96tfo3jpPNVcDUhpaOeX7vgLoYZiF7ivbv2dAlX1bEcyMD KS8U7ZG354Wog7G6vmWFsdvqnbhjF5QiJ423b6PP/oeCcRr/j7j3KsJDLWuVWBK5Cjf5 wXHSNw7y5s8B6V7mSj0tVeo+jyS70dxSoB8pU= MIME-Version: 1.0 Received: by 10.101.113.3 with SMTP id q3mr93091anm.38.1258352927524; Sun, 15 Nov 2009 22:28:47 -0800 (PST) In-Reply-To: <4d9fb1a00911151808r70d0d61fh4035f7452c4e3ec0@mail.gmail.com> References: <55080442.1258095819685.JavaMail.jira@brutus> <20091113094107.5914C816046@nike.apache.org> <4d9fb1a00911151808r70d0d61fh4035f7452c4e3ec0@mail.gmail.com> Date: Mon, 16 Nov 2009 14:28:47 +0800 Message-ID: <4d9fb1a00911152228r7fa0b9edjf5b095dfd69311e6@mail.gmail.com> Subject: Re: [jira] Updated: (HARMONY-6375) [classlib][nio]ServerSocketChannel hang when the main thread is waiting for request to accept and another thread try to configure the block mode on one channel From: Ray Chen To: dev@harmony.apache.org Content-Type: multipart/alternative; boundary=001636eee0fa3f48020478771f5a --001636eee0fa3f48020478771f5a Content-Type: text/plain; charset=ISO-8859-1 How about add wait(100) and nofity() in configureBlocking() method to break the deadlock? And should the timeout be shorter to avoid impacting the performance? -- Regards, Ray Chen --001636eee0fa3f48020478771f5a--