summaryrefslogtreecommitdiffstats
path: root/urpm/lock.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:45:10 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:45:10 +0000
commit9dadc64a5547524da5fcbe188b2d443709f627f0 (patch)
tree088db1e4c5d8478f3d564a634c2b04318363e2fb /urpm/lock.pm
parentcacb329cadd72547cb886b0b785c3cc16e4aa590 (diff)
downloadurpmi-9dadc64a5547524da5fcbe188b2d443709f627f0.tar
urpmi-9dadc64a5547524da5fcbe188b2d443709f627f0.tar.gz
urpmi-9dadc64a5547524da5fcbe188b2d443709f627f0.tar.bz2
urpmi-9dadc64a5547524da5fcbe188b2d443709f627f0.tar.xz
urpmi-9dadc64a5547524da5fcbe188b2d443709f627f0.zip
add basic POD documentation
Diffstat (limited to 'urpm/lock.pm')
-rw-r--r--urpm/lock.pm25
1 files changed, 25 insertions, 0 deletions
diff --git a/urpm/lock.pm b/urpm/lock.pm
index 6139be7b..12ab7394 100644
--- a/urpm/lock.pm
+++ b/urpm/lock.pm
@@ -10,6 +10,20 @@ use urpm::util;
my ($LOCK_SH, $LOCK_EX, $LOCK_NB, $LOCK_UN) = (1, 2, 4, 8);
+
+=head1 NAME
+
+urpm::lock - urpm/rpm DB locking related routines for urpmi
+
+=head1 SYNOPSIS
+
+=head1 DESCRIPTION
+
+=over
+
+=cut
+
+
################################################################################
#- class functions
@@ -107,3 +121,14 @@ sub DESTROY {
my ($lock) = @_;
unlock($lock) if $lock->{fh};
}
+__END__
+
+=back
+
+=head1 COPYRIGHT
+
+Copyright (C) 2005 MandrakeSoft SA
+
+Copyright (C) 2005-2010 Mandriva SA
+
+=cut