On Mon, Apr 06, 2009 at 08:55:03AM -0700, Jonathan Adams wrote:
> On Mon, Apr 06, 2009 at 10:27:59AM +0200, Michael Mueller wrote:
> > Are associative arrays thread-safe as well? For example
> > 
> >     a["some-string"] += 1;
> 
> No; they act just like global variables.

i.e. because they are global variables.

Adam

-- 
Adam Leventhal, Fishworks                     http://blogs.sun.com/ahl
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to