Add a new tool Lock to lock a mutex.

And automaticlly unlock it when the `Lock` got out of scope.
This commit is contained in:
Matthieu Gautier
2019-08-08 15:13:14 +02:00
parent 1b8e7849bd
commit c8e719101e
2 changed files with 47 additions and 0 deletions

View File

@ -22,6 +22,7 @@ install_headers(
'tools/pathTools.h',
'tools/regexTools.h',
'tools/stringTools.h',
'tools/lock.h',
subdir:'kiwix/tools'
)