Commit 320a9600 authored by Praveen Kumar's avatar Praveen Kumar Committed by Sara Golemon

fix Baton.h typo

Summary: checked the sense
Closes #224

Reviewed By: @paulbiss

Differential Revision: D2144508

Pulled By: @sgolemon
parent bf590e16
...@@ -51,7 +51,7 @@ struct Baton : boost::noncopyable { ...@@ -51,7 +51,7 @@ struct Baton : boost::noncopyable {
/// wait()ing. In practice this means that the waiter usually takes /// wait()ing. In practice this means that the waiter usually takes
/// responsibility for destroying the Baton. /// responsibility for destroying the Baton.
~Baton() { ~Baton() {
// The docblock for this function says that is can't be called when // The docblock for this function says that it can't be called when
// there is a concurrent waiter. We assume a strong version of this // there is a concurrent waiter. We assume a strong version of this
// requirement in which the caller must _know_ that this is true, they // requirement in which the caller must _know_ that this is true, they
// are not allowed to be merely lucky. If two threads are involved, // are not allowed to be merely lucky. If two threads are involved,
......
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