Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 88236 invoked from network); 3 Oct 2007 21:31:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2007 21:31:46 -0000 Received: (qmail 99852 invoked by uid 500); 3 Oct 2007 21:31:35 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 99344 invoked by uid 500); 3 Oct 2007 21:31:34 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 99335 invoked by uid 99); 3 Oct 2007 21:31:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 14:31:34 -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 oliver.zeigermann@gmail.com designates 64.233.182.189 as permitted sender) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 21:31:33 +0000 Received: by nf-out-0910.google.com with SMTP id d3so3487964nfc for ; Wed, 03 Oct 2007 14:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=P4T5QLf08KRkBOPkB3+vfwoY0CNUHv/e/J/tc6XFcrk=; b=QrBGf39sN/T6pCdnLPdjwNJ3+XD9Zp7RgW3hJaNFX5H87F5SRpMoBckC+35zRoCsh7W4lI/zCL58oR4gyP2h4W1VElKXtBhOSBLGGnqMpSIyjO6j3JRhvW2lXTE520kxKDs0Kb/0rUKZju9VDWT4s+r2FG4zQDComIiu4DjMbaQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ImoVInCS09JKYkL7tdLXUWQlGJd8VTRxm7VvS+huZM26hPVn5I1G4UMrWEzrMm6AtFWbMhT/1r8HN+x86NyY2vcuA/U+2V1fEd5++/ULLAT2YDhEM+ykwwHUvpIfmtOuRkeMGIb3E5yKsvij804NjwQAK/I8VOk+lvhgtNj7PLo= Received: by 10.86.23.17 with SMTP id 17mr948879fgw.1191447071758; Wed, 03 Oct 2007 14:31:11 -0700 (PDT) Received: by 10.86.96.14 with HTTP; Wed, 3 Oct 2007 14:31:11 -0700 (PDT) Message-ID: <9da4f4520710031431g433b0e9are2eaae8a6dc70f03@mail.gmail.com> Date: Wed, 3 Oct 2007 23:31:11 +0200 From: "Oliver Zeigermann" Sender: oliver.zeigermann@gmail.com To: "Jakarta Commons Developers List" Subject: Re: POLL: Anyone interested in a new CONCURRENT component In-Reply-To: <470407FE.4070802@sourcelabs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9da4f4520710031300p668262e5kb4b266a5807f9e25@mail.gmail.com> <6185d22e0710031311w7b5b874dse1114ad093adfbde@mail.gmail.com> <9da4f4520710031329jcc50bacy5b7ec4922021f0c4@mail.gmail.com> <6185d22e0710031344g4e6e1f7dkf174ffca4c2acb71@mail.gmail.com> <9da4f4520710031400g755cb122nfc1332879fcb0409@mail.gmail.com> <470407FE.4070802@sourcelabs.com> X-Google-Sender-Auth: ab127efbcbadeacc X-Virus-Checked: Checked by ClamAV on apache.org 2007/10/3, Will Pugh : > Another idea (not well thought out) would be to try doing something like > threadlets for Java (http://kerneltrap.org/node/7753) > > So that some operation would either execute directly, or if a lock is > taken would spawn a thread to wait for access. Not sure if it's a > solution in search of a problem, since I haven't had need to use them > yet, but I thought threadlets and syslets seemed like cool concepts on > their own. Not quite sure if this is possible without manipulating the JVM. Cool idea, though... > Another structure I've used a lot in UI programming is very similar to > an ExecuterService, except that each task has executeBackground and > exceuteForeground methods. The executeBackground method is called on a > pooled background thread. The executeForground is then called on the > main AWT thread. This is a "SwingWorker" in the Swing world, right? Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org