lock icon

lock For Linux

2.3/5 14
GPL    

lock is an attempt at creating a shell script based locking mechanism for any file.. #Abandoned locks  #Locking mechanism  #Lock files  #Locking  #Mechanism  #PID  

Description

Free Download

lock is an attempt at creating a shell script based locking mechanism for any file. This mechanism attempts to deal safely with the case of abandoned locks by first locking the abandoned lock and then deleting it (recursively if needed).

I believe I have eliminated race conditions and would be curious if anyone could prove me wrong.

Provide a PID and a file to lock on. If the process with the PID exits, it will abandon any locks it holds.

lock PID file unlock file

User Comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy

lock 2.2

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  main category:
Utilities
  developer:
  visit homepage