summaryrefslogtreecommitdiff
path: root/lib/common/NamedLock.cpp
Commit message (Collapse)AuthorAge
* Reset NamedLock file descriptor immediately after closing.Chris Wilson2015-08-15
| | | | | | Otherwise, if we fail to unlink the lockfile, we will try to close it again, which will fail because it's already closed, and we'll never get around to unlinking it.
* Fix logging of NamedLock acquisition for O_EXLOCK method.Chris Wilson2015-06-10
|
* Fix NamedLock release on Windows.Chris Wilson2015-05-16
| | | | | | On Windows we can't delete the file while it's open, and we don't need to, because we opened it for exclusive use, so another process can't lock it between us unlocking and deleting it.
* Fix lock race condition by unlinking before closing the file handle.Chris Wilson2015-05-04
|
* Add extra logging for acquiring and releasing NamedLocks.Chris Wilson2015-05-04
|
* Fix file locking on Windows.Chris Wilson2015-04-13
| | | | | NamedLock simply didn't work before. This may cause test failures, but the tests are already failing on Windows, and must be fixed.
* Include the filename in NamedLock exception messages.Chris Wilson2014-02-10
|
* Make NamedLock take a std::string instead of a char pointer for C++ Chris Wilson2009-06-28
| | | | | style.
* Comment wrapping fix from [1958]Chris Wilson2008-04-05
|
* Log an error if we fail to open the lockfile.Chris Wilson2007-11-04
|
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Merged martin/autoconf at r35 to trunkMartin Ebourne2005-12-07
|
* Merged martin/solaris at r9 to trunkMartin Ebourne2005-11-30
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14