Michael Echerer wrote: > Dakota Jack wrote: > >>Actually, any class with only local variables is always thread safe. >> > > True for locals, but we were talking about instance&class variables, > actually. You may of course still have instance&class variables... ThreadLocals (usually static) work fine ;-)
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ThreadLocal.html Cheers, Michael > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]