Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    sleep(10);
    print "finished sleeping @ARGV\n";
    flock(LOCKFILE,LOCK_UN);
    
  2. or download this
    ./test.pl 1 &
    ./test.pl 2 &
    ./test.pl 3 &
    ./test.pl 4 &