[MacRuby-devel] thread-safety and collections in macruby

Matt Aimonetti mattaimonetti at gmail.com
Wed Oct 19 16:46:30 PDT 2011


I believe someone (Ernie or someone else) did indeed extract some of the
dispatch gem's mixins.

- Matt

On Wed, Oct 19, 2011 at 1:43 PM, Jordan K. Hubbard <jkh at apple.com> wrote:

>
> 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 at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20111019/20859b5c/attachment.html>


More information about the MacRuby-devel mailing list