× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@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....


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.