Harry Ohlsen wrote:
> I'm in the middle of writing something about using Mutex for mutual
> exclusion and was going to use the example of two threads trying to
> update an array as an example.
> 
> Then it dawned on me that maybe that those operations might be designed
> to be thread safe, in which case my example's a bit lame.

You might use AspectR (AOP) to prevent concurrent access to an Array or
a similar data structure instead of preventing it in your application. 

Regards,

  Michael

-- 
Michael Neumann
merlin.zwo InfoDesign GmbH
http://www.merlin-zwo.de