Help for this page

Select Code to Download


  1. or download this
    sub threadProc1 :threaded { ... }
    sub threadProc2 :threaded { ... }
    ...
    ## then the statements completes immediately. Otherwise it blocks unti
    +l
    ## both results are available. Effectively joining both threads.
    my $composite = $result1 + $result2;
    
  2. or download this
    
    my $pipeline :promise = TQmap {
    ...
    }
    
    exit;