[MacRuby-devel] [MacRuby] #477: Need GCD wrapper for dispatch_once

MacRuby ruby-noreply at macosforge.org
Fri Dec 18 20:45:29 PST 2009


#477: Need GCD wrapper for dispatch_once
----------------------------------------+-----------------------------------
 Reporter:  ernest.prabhakar@…          |       Owner:  lsansonetti@…        
     Type:  enhancement                 |      Status:  new                  
 Priority:  minor                       |   Milestone:  MacRuby 0.5          
Component:  MacRuby                     |    Keywords:                       
----------------------------------------+-----------------------------------

Comment(by ernest.prabhakar@…):

 Is there any way we could call LLVM directly to generate the static
 variable dynamically (as it were)?  Or is that what you mean by "hacking
 the compiler"?

 Conversely, could we emulate Dispatch.once using some variant of the
 above, so that we provide API compatibility?

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/477#comment:7>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list