Logging: Make logging thread-safe
authorSoeren Apel <soeren@apelpie.net>
Sun, 1 Apr 2018 08:24:55 +0000 (10:24 +0200)
committerSoeren Apel <soeren@apelpie.net>
Tue, 3 Apr 2018 06:38:11 +0000 (08:38 +0200)
commit23a923e31af4fde0bc7f2993ac8a3b08fe229f46
tree52df0c70abb37a62719d840c68a4d74a0524a7f0
parente4cc0ee6270eb4d388a169438f58aa481f705261
Logging: Make logging thread-safe

Otherwise, we crash when two threads try to add entries to the log
at the same time.
pv/logging.cpp
pv/logging.hpp