[MacRuby-devel] [MacRuby] #489: Need a top-level Dispatch Object
MacRuby
ruby-noreply at macosforge.org
Tue Dec 8 15:07:50 PST 2009
#489: Need a top-level Dispatch Object
----------------------------------------+-----------------------------------
Reporter: ernest.prabhakar@… | Owner: lsansonetti@…
Type: enhancement | Status: new
Priority: minor | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
----------------------------------------+-----------------------------------
GCD sources and queues both support:
- suspend/resume
- context data
- finalizers
It seems worthwhile to create a Dispatch::Base object which handles that,
as well as retain/release, and have ::Queue and ::Source inherit from it.
Even if we don't implement context data yet (and may never need
finalizers), having the correct hierarchy now might save trouble later.
--
Ticket URL: <http://www.macruby.org/trac/ticket/489>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list