Commit 1e08cbbe authored by Maged Michael's avatar Maged Michael Committed by Facebook Github Bot

hazptr: Fix typos

Summary: Fix typos

Reviewed By: Tingzhe

Differential Revision: D8160938

fbshipit-source-id: f4eaf496a33b7d2b6266a8424850640028660331
parent 963b9f82
...@@ -201,7 +201,7 @@ class hazptr_obj_linked : public hazptr_obj<Atom> { ...@@ -201,7 +201,7 @@ class hazptr_obj_linked : public hazptr_obj<Atom> {
* is ConcurrentHashMap is uncertain. * is ConcurrentHashMap is uncertain.
* *
* If removal is certain, user code can call retire() explicitly. * If removal is certain, user code can call retire() explicitly.
* Otherwise, user code should call unlink() whenever an an inbound * Otherwise, user code should call unlink() whenever an inbound
* link to the object is changed. Calls to unlink() automatically * link to the object is changed. Calls to unlink() automatically
* retire the object when the link count is decremented to 0. [Note: * retire the object when the link count is decremented to 0. [Note:
* A ref count greater than 0 does not delay retiring an object.] * A ref count greater than 0 does not delay retiring an object.]
...@@ -218,7 +218,7 @@ class hazptr_obj_linked : public hazptr_obj<Atom> { ...@@ -218,7 +218,7 @@ class hazptr_obj_linked : public hazptr_obj<Atom> {
* } * }
* } * }
* *
* T may have both, either, or none of the tow types of outbound * T may have both, either, or none of the two types of outbound
* links. For example, UnboundedQueue Segment has an immutable * links. For example, UnboundedQueue Segment has an immutable
* link, and ConcurrentHashMap NodeT has a mutable link. * link, and ConcurrentHashMap NodeT has a mutable link.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment