Changeset 14500 for docs/Perl6/Spec

Show
Ignore:
Timestamp:
10/24/06 17:23:47 (2 years ago)
Author:
lumi
svk:copy_cache_prev:
21659
Message:

More typos smitten.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • docs/Perl6/Spec/Concurrency.pod

    r14499 r14500  
    8888Differently from any current concurrent process implementation in Perl, there 
    8989are no user accessible locks.  Instead, the concept of Software 
    90 Transactionable Memory is used.  This is in concept similar to the use of 
     90Transactional Memory is used.  This is in concept similar to the use of 
    9191 
    9292 BEGIN TRANSACTION 
     
    174174 
    175175Because Perl 6 must be able to revert its state to the state it had at the 
    176 checkpoint, it is not allowed to perform any non-revertable actions.  These 
     176checkpoint, it is not allowed to perform any non-revertible actions.  These 
    177177would include reading / writing from file handles that do not support 
    178178C<seek> (such as sockets).  Attempting to do so will cause a fatal error 
     
    185185 
    186186If you're not interested in revertability, but are interested in 
    187 uninteruptability, you could use the "is critical" trait. 
     187uninterruptability, you could use the "is critical" trait. 
    188188 
    189189=head2 Critical Code blocks 
     
    264264CORE::GLOBAL::exit; # kills all the threads 
    265265 
    266 # We intententionally do not list cross-machine parallelism Conc:: classes here. 
     266# We intentionally do not list cross-machine parallelism Conc:: classes here. 
    267267# Consult your local 6PAN mirror with a time machine. 
    268268use Conc::Processes; # fork() or createProcess based implementation 
     
    299299    - .started  # time 
    300300    - .finished # time 
    301     - .waiting  # suspened (not diff from block on wakeup signal) 
     301    - .waiting  # suspended (not diff from block on wakeup signal) 
    302302                # waiting on a handle, a condition, a lock, et cetera 
    303303                # otherwise returns false for running threads 
     
    308308- "is throttled" trait 
    309309 
    310     method throttled::trait_auxillary:<is> ($limit=1, :$key=gensym()) { 
     310    method throttled::trait_auxiliary:<is> ($limit=1, :$key=gensym()) { 
    311311        # "is throttled" limits max connection to this Code object 
    312312        # the throttling is shared among closures with the same key 
     
    314314        # if the counter with the "key" equals or exceeds a closure's limit, 
    315315        # the closure can't be entered until it's released 
    316         # (this can be trivially implmented using contend+defer) 
     316        # (this can be trivially implemented using contend+defer) 
    317317    } 
    318318 
     
    364364    # it's run once during initial compilation under the 
    365365    # Separate Compilation doctrine and the syms sealed off 
    366     # to form part fo bytecode syms headers 
     366    # to form part of bytecode syms headers 
    367367    %CALLER::<&blah> = { 1 }; # work - adds to export set 
    368368    die "Eureka!" if %CALLER::<$sym>; # never dies 
     
    446446If you request a repeated alarm using the C<repeated> named argument, it will 
    447447attempt to fire off the alarm that many times.  However, the alarm will be 
    448 supressed when inside a C<CATCH> block that's already handling the exception 
     448suppressed when inside a C<CATCH> block that's already handling the exception 
    449449raised by I<same> alarm. 
    450450 
     
    503503        } 
    504504    } 
    505 } # implicit falloff return + return() means startover without yielding 
     505} # implicit falloff return + return() means start over without yielding 
    506506  # return() means yielding and restart + no implicit falloff (I LIKE THIS) 
    507507