harlowja / fasteners

A python package that provides useful locks.
Apache License 2.0
252 stars 44 forks source link

Return the acquired status to the process lock #73

Closed psarka closed 3 years ago

psarka commented 3 years ago

This PR partly undoes the removal of the acquired status, as it is expected to stay untouched as a public API (see https://github.com/harlowja/fasteners/issues/71)

There is one line difference from the previous code, so the issue https://github.com/harlowja/fasteners/issues/29 should stay fixed.