Metainformationen zur Seite
LoxBerry::System::unlock
$check = LoxBerry::System::unlock([lockfile => 'lockname']);
Entsperrt ein mit lock
gesperrtes File.Siehe auch LoxBerry::System::lock.
Entsperrt einen zuvor erstellten Lock.
Gibt den Fehler als String zurück, oder undef
bei Erfolg.
Verwendung
use LoxBerry::System; # Locks lbupdate and immediately returns, if it cannot lock my $status = LoxBerry::System::lock(lockfile => 'lbupdate'); my $unlockstatus = LoxBerry::System::unlock(lockfile => 'lbupdate');