I will be switching the code back to ThreadLocals very soon, it's not that
big of an issue for me, so there is no need to make things even more
different than they already are, right? :)

-Pat

----- Original Message -----
From: "Rickard Öberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 11:47 PM
Subject: Re: [OS-webwork] Reflection


> Jason Carreira wrote:
> > I'm not as familiar with the non-common usages of ThreadLocals as you
> > are. I understand how they can be gotten and set, but how do you get
> > them from another thread to set into this thread, when a new thread
> > is kicked off (or a new thread, like the event handler in Swing, is
> > suddenly being used)?
>
> Two different ways. Either you get the state explicitly when you want to
> do the disconnect, or you can use InheritedThreadLocal.
>
> It's not a problem.
>
> /Rickard
>
> --
> Rickard Öberg
> [EMAIL PROTECTED]
> Senselogic
>
> Got blog? I do. http://dreambean.com
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: A Thawte Code Signing Certificate
> is essential in establishing user confidence by providing assurance of
> authenticity and code integrity. Download our Free Code Signing guide:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to