#478: Need GCD wrapper for custom sources
----------------------------------------+-----------------------------------
 Reporter:  ernest.prabha...@…          |       Owner:  lsansone...@…        
     Type:  defect                      |      Status:  new                  
 Priority:  blocker                     |   Milestone:  MacRuby 0.5          
Component:  MacRuby                     |    Keywords:                       
----------------------------------------+-----------------------------------
 While GCD custom sources may seem exotic, they're really just
 accumulators.

 
http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/dispatch_source_create.3.html

 http://developer.apple.com/mac/articles/cocoa/introblocksgcd.html
 -> Custom Events Example

 http://paste.lisp.org/display/86524

 The API should just be:

 adder = Dispatch::Source.for_adding(queue, mask, &block)
 orer = Dispatch::Source.for_oring(queue, mask, &block)

 adder.merge (data)

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/478>
MacRuby <http://macruby.org/>

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

Reply via email to