Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
a little program to help determining which memory chunk were modified during model...
[simgrid.git] / tools / sg_unit_extractor.pl
index 657b6a966ea2f453f112a58ee70b5eeebe779e28..1c6285997c9f329201bb72eace8dfefe231d7a32 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