Help for this page

Select Code to Download


  1. or download this
    # make sure /tmp/unlocked_[ab] exist first
    
    ...
        print "Done with Drive B.\n";
      } qw(/tmp/unlocked_b /tmp/locked_b);
    }
    
  2. or download this
    # critical region - only one code BLOCK runs at any one time
    sub lock_section (&@) {
    ...
            return \@ret;
        }
    }