[MacRuby-devel] [MacRuby] #337: Bug in rb_source_new_timer in gcd.c

MacRuby ruby-noreply at macosforge.org
Fri Sep 18 16:42:19 PDT 2009


#337: Bug in rb_source_new_timer  in gcd.c
----------------------------------------+-----------------------------------
 Reporter:  ernest.prabhakar@…          |       Owner:  lsansonetti@…        
     Type:  defect                      |      Status:  new                  
 Priority:  minor                       |   Milestone:  MacRuby 0.5          
Component:  MacRuby                     |    Keywords:                       
----------------------------------------+-----------------------------------

Comment(by ernest.prabhakar@…):

 The relevant GCD API is:
      dispatch_source_set_timer(dispatch_source_t source,
          dispatch_time_t start, uint64_t interval, uint64_t leeway);

 Which maps into delay, interval, leeway.  So, if you were following that
 convention it would be:

  &queue, &delay, &interval, &leeway)

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



More information about the MacRuby-devel mailing list