Help for this page

Select Code to Download


  1. or download this
    use threads::lite;
    
    ...
    ....
    
    my @Xresults = $Xthread->join;
    
  2. or download this
    use threads::lite;
    my $threadFactory = threads::lite->genFactory;
    ...
    
    my( $Xthread ) = $threadsFactory->create( \&doX, @Xargs );
    my( $Ythread ) = $threadsFactory->create( \&doY, @Yargs );