[thelist] a simple question on threading ?

Joshua Olson joshua at waetech.com
Thu Mar 3 09:45:38 CST 2005


> -----Original Message-----
> From: Chris Johnston
> Sent: Thursday, March 03, 2005 10:11 AM

> I have not really heard the term "Thread-Aware" so I am not sure how
> to define it. As for thread-safe, according to answers.com[1] it is
> defined as "a piece of code is thread-safe if it is reentrant or
> protected from multiple simultaneous execution by some form of mutual
> exclusion."
> 
> I tried thread-aware and didn't come up with anything.
> 
> [1]http://www.answers.com/thread-safe

Got me wondering as well.  Could thread-aware be a term describing of how
the Hashtables are implemented in .NET?  While not necessarily Thread-safe
themselves, there is a mechanism by which you can synchronize access to the
object.

http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemCollectionsHas
htableClassTopic.asp?frame=true

And then its SyncRoot property:

http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemCollectionsHas
htableClassSyncRootTopic.asp?frame=true

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com/service_areas/
706.210.0168 




More information about the thelist mailing list