On Oct 11, 2009, at 9:19 AM, Robert Rice wrote:

Do you have a preferred method for doing backgound tasks in MacRuby - perhaps separate threads?

I would say GCD is probably your best bet for this, since you can simply arrange to have a ruby block execute when your timer fires.

Of course, now that I go looking for documentation in the MacRuby source tree which describes how to do timers "the ruby way", I can't find any, but I'm sure it's hiding in there somewhere, right guys? :)

- Jordan

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

Reply via email to