From: Michael Neumann Date: 2001-12-15T21:38:07+09:00 Subject: [ruby-talk:28608] Re: Are Array#delete and Array#push thread safe? 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