Re: Is "a,b=c,d" atomic? or do I need a Mutex?

2012-06-11 Thread Robert Klemme
On Sun, Jun 10, 2012 at 7:52 PM, Iñaki Baz Castillo wrote: > 2012/6/10 Bartosz Dziewoński : >> It is atomic on MRI. It may or may not be on other interpreters, if >> you care about them. (But probably should be as an element of the >> syntax.) >> >> Array#<< may or may not be atomic as well. (It i

Re: Accessing Variables from Within a Module

2012-06-11 Thread Robert Klemme
On Sun, Jun 10, 2012 at 8:13 PM, Doug Jolley wrote: >> module MyModule >>  def MyModule.test1(obj) >>    puts(obj.fname()) >>  end >> end > > YES!!! This is the solution to my problem! Strangely, I came up with the > same thing as I reflected on the issue over last evening. Good. > When I post a