Skip to content
Browse files

Use notify_all in case more than one thread is blocked

  • Loading branch information...
1 parent ae68f2f commit 3fb68dce50cb3b72dc92fd84dc50fe460bbf22d9 @readams readams committed Jun 23, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 clients/cpp/include/voldemort/InconsistencyResolver.h
  2. +1 −1 clients/cpp/src/ConnectionPool.cpp
View
2 clients/cpp/include/voldemort/InconsistencyResolver.h
@@ -42,7 +42,7 @@ class InconsistencyResolver
/**
* Resolve conflicts in the given list of items and modify the
* list to contain the resolved set of items. Note that data in a
- * @ref VersionedValue is shared via reference couting on
+ * @ref VersionedValue is shared via reference counting on
* copy/assignment, so copying it is an inexpensive operation.
*
* @param items the list of items to resolve
View
2 clients/cpp/src/ConnectionPool.cpp
@@ -146,7 +146,7 @@ void ConnectionPool::checkin(shared_ptr<Connection>& conn) {
}
}
- checkinCond.notify_one();
+ checkinCond.notify_all();
}
} /* namespace Voldemort */

0 comments on commit 3fb68dc

Please sign in to comment.
Something went wrong with that request. Please try again.