Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update folly/docs/Synchronized.md #15

Closed
wants to merge 1 commit into from

2 participants

@ajtulloch

Fixed escaping bug where the > in operator-> was interpreted as starting a code block. 

Andrew Tulloch Update folly/docs/Synchronized.md
Fixed escaping bug where the `>` in `operator->` was interpreted as starting a code block. 
14365fd
@jdelong
Collaborator

Thanks; I merged it upstream (so it'll be pushed back out in the next push).

@jdelong jdelong closed this
@jdelong jdelong referenced this pull request from a commit
Andrew Tulloch Update folly/docs/Synchronized.md
Summary:
Fixed escaping bug where the `>` in `operator->` was
interpreted as starting a code block.  Folly github pull #15.

Test Plan: no

Reviewed By: njormrod@fb.com

FB internal diff: D582873
4941726
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 24, 2012
  1. Update folly/docs/Synchronized.md

    Andrew Tulloch authored
    Fixed escaping bug where the `>` in `operator->` was interpreted as starting a code block. 
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 folly/docs/Synchronized.md
View
4 folly/docs/Synchronized.md
@@ -265,8 +265,8 @@ iteration a la:
is a crime punishable by long debugging nights.
If the `Synchronized<T>` object involved is `const`-qualified,
-then you'll only be able to call `const` methods through `operator-
->`. So, for example, `vec->push_back("xyz")` won't work if `vec`
+then you'll only be able to call `const` methods through `operator->`.
+So, for example, `vec->push_back("xyz")` won't work if `vec`
were `const`-qualified. The locking mechanism capitalizes on the
assumption that `const` methods don't modify their underlying
data and only acquires a read lock (as opposed to a read and
Something went wrong with that request. Please try again.