[Box Backup-commit] [boxbackup/boxbackup] c39226: Improve NamedLock code readability, reliability an...

GitHub noreply at github.com
Wed Jan 10 22:00:57 GMT 2018


  Branch: refs/tags/BoxBackup-0.12.s3_support_merge.180110.c39226e
  Home:   https://github.com/boxbackup/boxbackup
  Commit: c39226efb21c233c1f8362e3ea942e2078ff658b
      https://github.com/boxbackup/boxbackup/commit/c39226efb21c233c1f8362e3ea942e2078ff658b
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-01-10 (Wed, 10 Jan 2018)

  Changed paths:
    M lib/common/CommonException.txt
    M lib/common/NamedLock.cpp
    M lib/common/NamedLock.h
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Improve NamedLock code readability, reliability and logging

Define our own preprocessor defines for lock methods, test that we cover every
case at compile time ad that they have the semantics that we expect (reentrant
or not).

(cherry picked from commit de1911b132310a1d5f1073928036db00abe0ef20)
(cherry picked from commit 96136adf5dbe38ef92ad3f9490b549c11dd91fd4)




More information about the Boxbackup-commit mailing list