I believe someone (Ernie or someone else) did indeed extract some of the dispatch gem's mixins.
On Oct 19, 2011, at 11:38 AM, Terry Moore wrote:Yes. But he does state it is a read only not modified array. My understanding is. 'Array' is an NSMutableArray, I was merely suggesting using freeze to throw that exception just in case there maybe some code attempting to write/modify.
Mutex is the way to go but it also has an overhead.Didn't somebody (Ernie?) already post a set of mix-ins for the mutable object classes that used a per-object GCD queue to serialize operations against the object? If the mail archives were easier to search, I'd pull it up, but it isn't and I'm too lazy. :)- Jordan
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel