Help for this page

Select Code to Download


  1. or download this
    use sshConnector;
    
    ...
    
    $thr2->join();
    print "Second thread over\n";
    
  2. or download this
    my $machine1 :shared = new Connector($deviceInfo1);
    my $thr1 = threads->create('methodA',$machine1,10);
    
    my $machine2 :shared = new Connector($deviceInfo2);
    my $thr2 = threads->create('methodB',$machine2,6);