Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    use threads;
    ...
        # release slot:
        $sem->up;
    }
    
  2. or download this
    ##!/usr/bin/perl -w
    use strict;
    use threads;
    ...
        push (@results,$foo);
        $sem->up;
    }