Add FileLock class 35/29335/8
authorAleksander Zdyb <a.zdyb@samsung.com>
Wed, 26 Nov 2014 08:23:06 +0000 (09:23 +0100)
committerAleksander Zdyb <a.zdyb@samsung.com>
Wed, 3 Dec 2014 11:07:25 +0000 (12:07 +0100)
commit6fc739e0eeacb82e9ace84c793f365fdcb529b88
tree4f55ba1f7aee4fe67439cefda95ed71e19e00e9a
parentfab54adac57dd1fcdf1b304603600599b7e1e5f9
Add FileLock class

A class creating advisory lock on provided file.
The file must exist and be openable by the process.

Change-Id: Ia5fa4ef51e1a413beb81efd56f807e1434145691
src/common/CMakeLists.txt
src/common/exceptions/DatabaseBusyException.h [new file with mode: 0644]
src/common/exceptions/FileLockAcquiringException.h [new file with mode: 0644]
src/common/lock/FileLock.cpp [new file with mode: 0644]
src/common/lock/FileLock.h [new file with mode: 0644]
src/service/main/pointers.h