#477: Need GCD wrapper for dispatch_once ----------------------------------------+----------------------------------- Reporter: ernest.prabha...@… | Owner: lsansone...@… Type: enhancement | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------------+-----------------------------------
Comment(by lsansone...@…): That's what I meant by hacking the compiler. The static variable would need to be emitted at compilation time. Of course the compiler would need to know when the variable should be emitted (which requires an heuristic). I'm not sure if dispatch_once() is worth all of that. As for emulation, sure, we could potentially provide this in the future pure-ruby gcd.rb we discussed earlier today. -- Ticket URL: <http://www.macruby.org/trac/ticket/477#comment:8> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel