File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ template <class KeyTy, class ValueTy> struct ConcurrentMapNode {
145
145
// / The method findOrAllocateNode searches the binary tree in search of the
146
146
// / exact Key value. If it finds an edge that points to NULL that should
147
147
// / contain the value then it tries to compare and swap the new node into
148
- // / place. If it looses the race to a different thread it de-allocates
148
+ // / place. If it loses the race to a different thread it de-allocates
149
149
// / the node and starts the search again since the new node should
150
150
// / be placed (or found) on the new link. See findOrAllocateNode for more
151
151
// / details.
@@ -164,7 +164,7 @@ template <class KeyTy, class ValueTy> class ConcurrentMap {
164
164
// / accelerating the search of the same value again and again.
165
165
std::atomic<NodeTy *> LastSearch;
166
166
167
- // / Search a for a node with key value \p. If the node does not exist then
167
+ // / Search for a node with key value \p. If the node does not exist then
168
168
// / allocate a new bucket and add it to the tree.
169
169
ConcurrentList<ValueTy> &findOrAllocateNode (KeyTy Key) {
170
170
// Try looking at the last node we searched.
You can’t perform that action at this time.
0 commit comments