Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 5649 invoked from network); 27 Jun 2005 14:39:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2005 14:39:59 -0000 Received: (qmail 76364 invoked by uid 500); 27 Jun 2005 14:39:50 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 76351 invoked by uid 500); 27 Jun 2005 14:39:50 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 76333 invoked by uid 99); 27 Jun 2005 14:39:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2005 07:39:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of oliver.zeigermann@gmail.com designates 64.233.182.193 as permitted sender) Received: from [64.233.182.193] (HELO nproxy.gmail.com) (64.233.182.193) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2005 07:39:49 -0700 Received: by nproxy.gmail.com with SMTP id g2so174440nfe for ; Mon, 27 Jun 2005 07:39:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cgzuUTpxEJy0hvQdSzU7KE0WDMRSEK0tyO/RBraYWvysTaVwpmtNO3+0Xw8A/xmIOOQLzQgQtXdilRrPzepn9WVvM4G6V8DCfuFb53S4aDpImwtj462byW0PnnQjD9u1q1XOBuNVNTSBKFZcmNu1693g3I5edJgHF8o7M49E6Z0= Received: by 10.48.249.6 with SMTP id w6mr118334nfh; Mon, 27 Jun 2005 07:39:46 -0700 (PDT) Received: by 10.48.250.13 with HTTP; Mon, 27 Jun 2005 07:39:46 -0700 (PDT) Message-ID: <9da4f45205062707391c006d8e@mail.gmail.com> Date: Mon, 27 Jun 2005 16:39:46 +0200 From: Oliver Zeigermann Reply-To: ozeigermann@apache.org To: Jakarta Commons Users List Subject: Re: [Transaction] API, GenerickLock, FileResourceManager (was Re: Transaction API, GenericLock, FileResourceManager) In-Reply-To: <42C00AF7.50908@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42BC2D11.1040502@cornell.edu> <9da4f4520506262330488a9644@mail.gmail.com> <42C00AF7.50908@cornell.edu> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/27/05, Aaron Hamid wrote: > I will use Thread.currentThread() for the "owner". I'm not clear as to t= he utility of non-thread owners...what is the semantics of synchronization = if the owners are not threads? Or is the intention that owners ultimately = must be associated with unique threads? If something is actually blocked, it of course is the thread. But the thread that does something on behalf of a therad owner may change, e.g. when a transaction is suspended in one thread and resumed in another. In something like JTA you will have to tell the TM about this, in commons transaction you will not have to. Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org