Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
I think I read too much into your statement and was thinking you meant that the value of a String could change depending on hardware. It can definately be accessed out of order in a servlet, I've been burned by that. ...or did you mean even in a single threaded environment you can have synchronization problems? David Morris >>> kulack@us.ibm.com 09/19/02 04:09PM >>> Hmmm.... I'm not exactly sure if you're missing the point. The point is that you simply must synchronize any shared object/data. You cannot safely access an object or variables initialized/created/modified in one thread from another without a synchronized block somewhere (in both those threads) to protect access and ensure that your thread accesses the correct data....
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.