diff options
Diffstat (limited to 'src/unstable/readwritemutex.cpp')
-rw-r--r-- | src/unstable/readwritemutex.cpp | 4 |
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 | // |
61 | void Bu::ReadWriteMutex::lockWrite() | 61 | void Bu::ReadWriteMutex::lockWrite() |