Revert "Improve handling of mutex contention when 'lockfile' is installed."

This reverts commit 2f56caf8fd.

The change only worked on very recent distributions.
This commit is contained in:
Tom Eastep 2012-09-12 10:03:09 -07:00
parent a223245c01
commit e9b0e2f912

View File

@ -755,7 +755,7 @@ mutex_on()
fi fi
if qt mywhich lockfile; then if qt mywhich lockfile; then
lockfile -s 1 -l ${MUTEX_TIMEOUT} ${lockf} lockfile -${MUTEX_TIMEOUT} -r1 ${lockf}
chmod u+w ${lockf} chmod u+w ${lockf}
echo $$ > ${lockf} echo $$ > ${lockf}
chmod u-w ${lockf} chmod u-w ${lockf}