A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ns3] there is no reason why this ns3-only parsing functions should be public
[simgrid.git]
/
tools
/
sg_unit_extractor.pl
diff --git
a/tools/sg_unit_extractor.pl
b/tools/sg_unit_extractor.pl
index
657b6a9
..
1c62859
100755
(executable)
--- a/
tools/sg_unit_extractor.pl
+++ b/
tools/sg_unit_extractor.pl
@@
-1,17
+1,10
@@
#! /usr/bin/perl
use strict;
#! /usr/bin/perl
use strict;
-use Fcntl ':flock';
use strict;
use Getopt::Long qw(GetOptions);
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
my $progname="sg_unit_extractor";
# Get the args