Commit af0a489d authored by lorinlee's avatar lorinlee Committed by Facebook GitHub Bot

Fix typo in AtomicSharedPtr (#1610)

Summary: Pull Request resolved: https://github.com/facebook/folly/pull/1610

Reviewed By: yfeldblum

Differential Revision: D29434206

Pulled By: Orvid

fbshipit-source-id: e20d29d0572307e917f8673bb161e3af1a6c55c3
parent 1f106643
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
* This version instead stores the 48 bits of address, plus 16 bits of * This version instead stores the 48 bits of address, plus 16 bits of
* local count in a single 8byte pointer. This avoids 'lock cmpxchg16b', * local count in a single 8byte pointer. This avoids 'lock cmpxchg16b',
* which is much slower than 'lock xchg' in the normal 'store' case. In * which is much slower than 'lock xchg' in the normal 'store' case. In
* the less-common aliased pointer scenaro, we just allocate it in a new * the less-common aliased pointer scenario, we just allocate it in a new
* block, and store a pointer to that instead. * block, and store a pointer to that instead.
* *
* Note that even if we only want to use the 3-bits of pointer alignment, * Note that even if we only want to use the 3-bits of pointer alignment,
......
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