> What is sounds like you're saying is something like: No, not exactly, because you know that str is constant and its value is set at load time, so multiple readers without locks will be safe.
However, what he was responding to was much more broad, and not correct: > Now if two threads are just reading the same piece of data it's ok > for them to do so at the same time, When was the data written? Unless you're dealing with const data, then you still require synchronization primitives ON THE READS, to make sure that the cache of the processor executing the reads is refreshed from main memory as needed. Unless, of course, you know the exact details of the processor you're running on and that this is not necessary. -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]