aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/readwritemutex.cpp
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2018-01-29 00:47:50 -0800
committerMike Buland <mbuland@penny-arcade.com>2018-01-29 00:47:50 -0800
commit1cb0fc6ab3f05e37f8c4c0bf5549b320c8b89078 (patch)
tree1417fdcc919d74ca25dc33b27714d10dd169700e /src/unstable/readwritemutex.cpp
parent65ffc3b58ca865a7f83bf39290df1760c35b57f0 (diff)
downloadlibbu++-1cb0fc6ab3f05e37f8c4c0bf5549b320c8b89078.tar.gz
libbu++-1cb0fc6ab3f05e37f8c4c0bf5549b320c8b89078.tar.bz2
libbu++-1cb0fc6ab3f05e37f8c4c0bf5549b320c8b89078.tar.xz
libbu++-1cb0fc6ab3f05e37f8c4c0bf5549b320c8b89078.zip
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.
Diffstat (limited to 'src/unstable/readwritemutex.cpp')
-rw-r--r--src/unstable/readwritemutex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unstable/readwritemutex.cpp b/src/unstable/readwritemutex.cpp
index 651a343..9719bfb 100644
--- a/src/unstable/readwritemutex.cpp
+++ b/src/unstable/readwritemutex.cpp
@@ -51,11 +51,11 @@ void Bu::ReadWriteMutex::unlockRead()
51 51
52// 52//
53// The bWantWrite could be a counter like the read lock counter, however 53// The bWantWrite could be a counter like the read lock counter, however
54// once a write lock occurs and bWantWrite is set at least one wite 54// once a write lock occurs and bWantWrite is set at least one write
55// will definately occur. In practice most writes all happen one after 55// will definately occur. In practice most writes all happen one after
56// the other anyway and this way reads get a chance to mingle in. 56// the other anyway and this way reads get a chance to mingle in.
57// 57//
58// Really, just getting all currint reads to stop so a write can happen 58// Really, just getting all current reads to stop so a write can happen
59// I think is sufficient right now. 59// I think is sufficient right now.
60// 60//
61void Bu::ReadWriteMutex::lockWrite() 61void Bu::ReadWriteMutex::lockWrite()