From 1cb0fc6ab3f05e37f8c4c0bf5549b320c8b89078 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 29 Jan 2018 00:47:50 -0800 Subject: Changes related to debugging an issue. It may not have had as much to do with low-level protocol details, and a lot of this can be reverted, but I can't revert it right now. I'll look it over later in the week. --- src/stable/client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stable/client.h') diff --git a/src/stable/client.h b/src/stable/client.h index ac882eb..6492a6e 100644 --- a/src/stable/client.h +++ b/src/stable/client.h @@ -14,6 +14,7 @@ #include "bu/string.h" #include "bu/queuebuf.h" #include "bu/mutex.h" +#include "bu/readwritemutex.h" namespace Bu { @@ -130,6 +131,7 @@ namespace Bu class Bu::ClientLinkFactory *pfLink; Bu::Mutex mRead; Bu::Mutex mWrite; + mutable Bu::ReadWriteMutex mGlobal; }; } -- cgit v1.2.3