471,317 Members | 1,459 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

in msdn document,there is a paragraph titiled "Thread Safety", why


how to comprehend the "Thread Safety"?

Dec 7 '05 #1
3 1128
This means that access from different threads is synchronized, thus objects
internal state won't be corrupt

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

"Nice" <Ni**@discussions.microsoft.com> wrote in message
news:58**********************************@microsof t.com...

how to comprehend the "Thread Safety"?

Dec 7 '05 #2
Nice wrote:
how to comprehend the "Thread Safety"?


This article might help:
http://www.pobox.com/~skeet/csharp/t...readsafe.shtml

Jon

Dec 7 '05 #3
Nice,

This paragraph tells you which memebers of the class is safe to access
simultaneously from different threads. usually these are static members,
readonly properties and methods that calculate their return value based on
their parameters.
--
HTH
Stoitcho Goutsev (100) [C# MVP]

"Nice" <Ni**@discussions.microsoft.com> wrote in message
news:58**********************************@microsof t.com...

how to comprehend the "Thread Safety"?

Dec 7 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Sreedharan | last post: by
22 posts views Thread by Brett | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.