Subject: [Boost-bugs] [Boost C++ Libraries] #9527: Typo on Boost::Atomic docs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-26 19:15:00
#9527: Typo on Boost::Atomic docs
------------------------------+--------------------------
Reporter: davidaneiss@⦠| Owner: timblechmann
Type: Bugs | Status: new
Milestone: To Be Determined | Component: atomic
Version: Boost 1.54.0 | Severity: Cosmetic
Keywords: |
------------------------------+--------------------------
On
http://www.boost.org/doc/libs/1_55_0/doc/html/atomic/thread_coordination.html
In paragraph 'One can however also arrive at the same conclusion using
happens-before: Either thread1 or thread2 will succeed first at m.lock().
If this is be thread1, then as a consequence, thread2 cannot succeed at
m.lock() before thread1 has executed m.unlock(), consequently A happens-
before B in this case. By symmetry, if thread2 succeeds at m.unlock()
first, we can conclude B happens-before A."
In the last sentence, that should probably be "... if thread2 succeeds at
m.lock() first, ...". That is, change "unlock" to "lock".
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9527> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC