From ef099669788d6b9ecbc4c8aa4cabb91d09cc8128 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 31 Aug 2022 19:53:25 +0100 Subject: [PATCH] mutex include cleanup. Change-Id: I63d4184260d204a9d5f7658ad51fbe63dbb3c9e4 Signed-off-by: Michael Meeks --- PROBLEMS | 4 ---- common/SigUtil.cpp | 1 - net/DelaySocket.cpp | 1 - net/DelaySocket.hpp | 2 -- wsd/Admin.cpp | 1 - wsd/Admin.hpp | 2 -- 6 files changed, 11 deletions(-) diff --git a/PROBLEMS b/PROBLEMS index e36e9b6940..4a04a74bb0 100644 --- a/PROBLEMS +++ b/PROBLEMS @@ -35,10 +35,6 @@ poll() calls to be without timeout. Or something similar, depending on case. -- Recursive mutexes are evil. The last remaining instances should be - removed from the Kit/ChildSession.cppp as/when we move to a single - threaded Kit process. - - Occasionally Control-C (SIGINT) doesn't shut down coolwsd. One has to kill it with SIGKILL. Which of course leaves all the chroot jails around. Hitting Control-C a second time will attempt a faster, and diff --git a/common/SigUtil.cpp b/common/SigUtil.cpp index 64334cab75..f47930bea8 100644 --- a/common/SigUtil.cpp +++ b/common/SigUtil.cpp @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include diff --git a/net/DelaySocket.cpp b/net/DelaySocket.cpp index f4a3389298..757863a2d8 100644 --- a/net/DelaySocket.cpp +++ b/net/DelaySocket.cpp @@ -10,7 +10,6 @@ #include #include -#include #define DELAY_LOG(X) std::cerr << X << '\n'; diff --git a/net/DelaySocket.hpp b/net/DelaySocket.hpp index 256433f87d..1ea83b64be 100644 --- a/net/DelaySocket.hpp +++ b/net/DelaySocket.hpp @@ -9,8 +9,6 @@ #include -#include - /// Simulates network latency for local debugging. /// /// We are lifecycle managed internally based on the physical / diff --git a/wsd/Admin.cpp b/wsd/Admin.cpp index 0a27540e4c..9c9154db33 100644 --- a/wsd/Admin.cpp +++ b/wsd/Admin.cpp @@ -9,7 +9,6 @@ #include #include -#include #include #include diff --git a/wsd/Admin.hpp b/wsd/Admin.hpp index 546f62e0da..c1bdefb4cf 100644 --- a/wsd/Admin.hpp +++ b/wsd/Admin.hpp @@ -7,8 +7,6 @@ #pragma once -#include - #include "AdminModel.hpp" #include "Log.hpp"