the standard linux fcntl call doesn't provide a timeout option. I'm considering implement a timeout lock with signal. Here is the description of blocking lock
In Bash, I'm trying to make a function getLock to be used with different lock names. function getLock { getLock_FILE="${1}" getLock_OP="${2}" case