Issue Bug Closed

#24342t3lib_lock still sometimes has a race condition on deleting locks.

Björn Pedersen 12/15/10, 13:15 updated 03/24/15, 12:17

Description

The problem of already deleted lock files still exists. * Solution : Add a “static” lock class and implement a lockFile-Lock.

Another problem was, that locks that never were acquired were never released properly:
The early return in release returned wrongly
  • add a destruct member and use it as second flag for the early return

The patch probably still needs some cleanup, e.g. where to keep the lockLock instance.
(issue imported from #M16749)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.