Module: check_mk
Branch: master
Commit: 2a2f421d3ed98a232f96342421412f13e199d196
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2a2f421d3ed98a…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Wed Dec 13 10:33:38 2017 +0100
Windows agent: use std::mutex and std::lock_guard
Replace own WinAPI mutex -based implementation with std::mutex and
std::lock_guard.
Change-Id: Iaa4bbf03e97cf5abbdd5addea13590f9706fb0e2
---
agents/windows/Configuration.h | 1 -
agents/windows/Thread.h | 16 +++++++++++-----
agents/windows/WinApi.cc | 14 --------------
agents/windows/WinApi.h | 7 -------
agents/windows/WinApiAdaptor.h | 6 ------
agents/windows/build_version | 2 +-
agents/windows/check_mk_agent.cc | 8 +++++---
agents/windows/sections/SectionMem.h | 1 -
agents/windows/sections/SectionOHM.cc | 1 -
agents/windows/sections/SectionPerfcounter.h | 1 -
agents/windows/sections/SectionSkype.h | 1 -
agents/windows/sections/SectionSpool.h | 1 -
agents/windows/sections/SectionUptime.h | 1 -
agents/windows/sections/SectionWMI.h | 1 -
agents/windows/sections/SectionWinperf.h | 1 -
agents/windows/test/MockWinApi.h | 7 -------
agents/windows/test/typesTest.cc | 15 ---------------
agents/windows/types.h | 23 -----------------------
18 files changed, 17 insertions(+), 90 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=2a2f421d3e…