[MacRuby-devel] [MacRuby] #335: Top-level RDoc for gcd.c
MacRuby
ruby-noreply at macosforge.org
Wed Sep 16 13:48:19 PDT 2009
#335: Top-level RDoc for gcd.c
----------------------------------------+-----------------------------------
Reporter: ernest.prabhakar@… | Owner: lsansonetti@…
Type: enhancement | Status: new
Priority: blocker | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: gcd
----------------------------------------+-----------------------------------
Here's some proposed language for:
http://svn.macosforge.org/repository/ruby/MacRuby/trunk/gcd.c
// TODO: Add a top-level rdoc for the module explaining what GCD
// is good for (and pointing them to the dispatch(3) manpage).
==========
Grand Central Dispatch (GCD) is a novel approach to multicore computing
that is built into Mac OS X version 10.6 Snow Leopard. In particular, GCD
shifts responsibility for managing threads and their execution from
applications to the operating system. This allows programmers to easily
refactor their programs into small chunks of independent work, which GCD
then schedules onto per-process thread pools. Because GCD knows the load
across the entire system, it ensures the resulting programs perform
optimally on a wide range of hardware.
GCD is built on a highly-efficient multicore engine accessed via a C API
providing four primary abstractions, which are wrapped in this MacRuby
implementation:
▪ block objects
▪ dispatch queues
▪ synchronization services
▪ event sources
For more information, see the dispatch(3) man page.
--
Ticket URL: <http://www.macruby.org/trac/ticket/335>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list