#476: GCD Groups should be a wrapper around dispatch, not its own invocation style ----------------------------------------+----------------------------------- Reporter: ernest.prabha...@… | Owner: lsansone...@… Type: enhancement | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: gcd ----------------------------------------+-----------------------------------
Comment(by ernest.prabha...@…): I'm not sure I'd want to go that far, but I like the idea of passing groups -- and even sync -- as named parameters to dispatch (i.e., a hash) g = Dispatch::Group.new q1.dispatch(group: g) { block } q2.dispatch(group: g, sync:true) { block } g.wait That would seem both the simplest to implement, and the clearest semantically. I'll file a bug about the 'sync' keyword... -- Ticket URL: <http://www.macruby.org/trac/ticket/476#comment:3> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel