Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[DOC] hide a bit the structure list, nobody cares
[simgrid.git] / tools / sg_unit_extractor.pl
index 657b6a9..0aa5faf 100755 (executable)
@@ -1,17 +1,10 @@
 #! /usr/bin/perl
 
 use strict;
-use Fcntl ':flock';
 
 use strict;
 use Getopt::Long qw(GetOptions);
 
-open SELF, "< $0" or die "Cannot open the lock file";
-if (!flock SELF, LOCK_EX | LOCK_NB) {
-    print STDERR "sg_unit_extractor already running. Cancelling...\n";
-    exit;
-}
-
 my $progname="sg_unit_extractor";
 # Get the args 
 
@@ -247,7 +240,7 @@ EOF
           last if /SGU: BEGIN SUITES DECLARATION/;
        }
        
-       ### Done with prototypes. And now, the actual code
+       ### Done with prototypes. And now, the actual code
        
        # search my prototype
        while (<IN>) {