On Feb 3, 2010, at 10:13 AM, MacRuby wrote:

> Using a copy of the array "sometimes" works, but I'm not quite sure how or
> why.  Still, the technical answer is that attempting to modify a dynamic
> object inside a GCD leads to "undefined"  behavior, so I'll mark this as
> "behaves correctly". :-/

I think this is going to be a perennial problem until we figure out some idiom 
for accessing variables from within GCD code (preferably something terse which 
can be easily taught, in the vein of @synchronized).  Ruby programmers are just 
too used to having a GIL pay for their sins. :-(

- Jordan

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to