aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordergoegge <n.goeggi@gmail.com>2023-03-14 18:28:38 +0100
committerdergoegge <n.goeggi@gmail.com>2023-03-22 13:18:32 +0100
commit6693c499f7d48aaa1f527a1a860b943fc8442241 (patch)
treef95e5b80d6cf2f4430fa5654dface4d4ac4bb388
parent23d93526545c271b0eed2bd468681864c4213cce (diff)
[net] Make cs_vProcessMsg a non-recursive mutex
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 04757d32de..9bff4416ee 100644
--- a/src/net.h
+++ b/src/net.h
@@ -615,7 +615,7 @@ private:
std::list<CNetMessage> vRecvMsg; // Used only by SocketHandler thread
- RecursiveMutex cs_vProcessMsg;
+ Mutex cs_vProcessMsg;
std::list<CNetMessage> vProcessMsg GUARDED_BY(cs_vProcessMsg);
size_t nProcessQueueSize GUARDED_BY(cs_vProcessMsg){0};