[4345] MacRuby/trunk/lib/dispatch/README.rdoc
Revision: 4345 http://trac.macosforge.org/projects/ruby/changeset/4345 Author: martinlagardette@apple.com Date: 2010-07-13 14:38:01 -0700 (Tue, 13 Jul 2010) Log Message: ----------- Fix quote and apostrophe character for dispatch's README.rdoc Modified Paths: -------------- MacRuby/trunk/lib/dispatch/README.rdoc Modified: MacRuby/trunk/lib/dispatch/README.rdoc =================================================================== --- MacRuby/trunk/lib/dispatch/README.rdoc 2010-07-13 21:17:06 UTC (rev 4344) +++ MacRuby/trunk/lib/dispatch/README.rdoc 2010-07-13 21:38:01 UTC (rev 4345) @@ -306,7 +306,7 @@ * File descriptor (file or socket) * Process state change -When the source “fires,” GCD will schedule the _handler_ block on the specific queue if it is not currently running, or -- more importantly -- coalesce pending events if it is. This provides excellent responsiveness without the expense of either polling or binding a thread to the event source. Plus, since the handler is never run more than once at a time, the block doesn’t even need to be reentrant -- and thus you don't need to +synchronize+ any variables that are only used there. +When the source "fires", GCD will schedule the _handler_ block on the specific queue if it is not currently running, or -- more importantly -- coalesce pending events if it is. This provides excellent responsiveness without the expense of either polling or binding a thread to the event source. Plus, since the handler is never run more than once at a time, the block doesn't even need to be reentrant -- and thus you don't need to +synchronize+ any variables that are only used there. === Source.periodic
participants (1)
-
source_changes@macosforge.org