Return-Path: Delivered-To: apmail-mina-dev-archive@www.apache.org Received: (qmail 65806 invoked from network); 3 Aug 2007 05:08:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Aug 2007 05:08:28 -0000 Received: (qmail 88657 invoked by uid 500); 3 Aug 2007 05:08:27 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 88627 invoked by uid 500); 3 Aug 2007 05:08:27 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mina.apache.org Delivered-To: mailing list dev@mina.apache.org Received: (qmail 88618 invoked by uid 99); 3 Aug 2007 05:08:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Aug 2007 22:08:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elcapo@gmail.com designates 209.85.198.188 as permitted sender) Received: from [209.85.198.188] (HELO rv-out-0910.google.com) (209.85.198.188) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2007 05:08:20 +0000 Received: by rv-out-0910.google.com with SMTP id k20so821278rvb for ; Thu, 02 Aug 2007 22:08:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=rhBqW5n7ZSK9YdVN4VVMMvynMKirPC6TfvRBVeSnqko5BV43eLWDtkxVXZPr4XhajVHGmhxyFFu6GV29ern6n3Q1OUVq3EUdnkc589k+lu5M5deH9Zsv2coQomkisAy2ZUXh9noj5CeJLIMWPTzQQep+ZKchnBhhyv55OvUV2L0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=I67bWTHSjnrD06djuPE1q3pbHTHyj3XqV8WeiiDOqM0RdtxsYX1EBjlCfS9PdbcfqV4iFAxPtbz+iivfxV9yliYgC+l3FYkKQxgkgAW6Qo549PKZkvLEka4n8EDeHoy9DAHgqUfqRt8A6vtC5aTXVf1K8mWA2OFCcye7Kl4f3mA= Received: by 10.141.51.15 with SMTP id d15mr931046rvk.1186117680443; Thu, 02 Aug 2007 22:08:00 -0700 (PDT) Received: from ?192.168.0.186? ( [67.166.69.137]) by mx.google.com with ESMTPS id b5sm2368240rva.2007.08.02.22.07.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Aug 2007 22:07:59 -0700 (PDT) Subject: Re: Unsafe concurrency issue in SocketIoProcessor ? From: Mike Heath To: dev@mina.apache.org In-Reply-To: References: Content-Type: text/plain Date: Thu, 02 Aug 2007 23:07:58 -0600 Message-Id: <1186117678.6526.20.camel@spinninghead.swamp> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: Mike Heath X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2007-08-02 at 07:55 -0700, peter royal wrote: > On Jul 30, 2007, at 11:50 PM, James Im wrote: > > An alternative to synchronization would be to declare the selector > > final. However this doesn't seems to be possible without some broader > > refactoring. > > ... which i would love to see if you want to take it on :) In TRUNK the selector is already declared final in SocketIoProcessor.