This is exactly my point. The point of ThreadLocals is that the data only lives for the life of the thread.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff > Haynie > Sent: Thursday, January 16, 2003 1:52 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-dev] ThreadPooling in JMX? Its broken > > > What happens in the case the executing thread doesn't know he's > executing on a thread pool thread - such as that another caller is > calling a method on an object via a thread pool? In this case, you > thread local variables wouldn't work -- in which case, thread locals are > pointless, no? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of > Scott M Stark > Sent: Thursday, January 16, 2003 1:39 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-dev] ThreadPooling in JMX? Its broken > > > Bull, the threads which have access to a thread local may have nothing > to do with the thread pool. You don't know why a thread local was > introduced just because you manage threads. This is a bit like saying > you should be able to clear all variables declared in the sceop of > package names x.y.threads. Create you own ThreadPoolLocal for the > semantics your talking about. > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > > ----- Original Message ----- > From: "Bill Burke" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, January 16, 2003 9:50 AM > Subject: RE: [JBoss-dev] ThreadPooling in JMX? Its broken > > > > Sure there should. For people that want to do thread pooling! > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: Thawte.com > Understand how to protect your customers personal information by > implementing SSL on your Apache Web Server. Click here to get our FREE > Thawte Apache > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > _______________________________________________ > Jboss-development mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: Thawte.com > Understand how to protect your customers personal information by > implementing > SSL on your Apache Web Server. Click here to get our FREE Thawte Apache > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development