]> git.lyx.org Git - features.git/commit
Make Formats::isZippedFile() threadsafe
authorGeorg Baum <baum@lyx.org>
Mon, 7 Jul 2014 19:34:54 +0000 (21:34 +0200)
committerGeorg Baum <baum@lyx.org>
Mon, 7 Jul 2014 19:34:54 +0000 (21:34 +0200)
commit8fe58b90c2a1bcf2fba36d417c657935c28c5b6f
tree1d020161a897d21496d161ce69b2bbf6dc556c26
parentf5cf3705d50b2cde45369e4707f57ea95995fada
Make Formats::isZippedFile() threadsafe

In this case I use a mutex, so the zip status of files is shared between
threads. This is possible because a deadlock can't happen, and it should give
better performance.
src/Format.cpp