Index: libs/thread/doc/external_locking.qbk =================================================================== --- libs/thread/doc/external_locking.qbk (revision 85161) +++ libs/thread/doc/external_locking.qbk (working copy) @@ -217,7 +217,7 @@ * You can create a `strict_lock` only starting from a valid T object. Notice that there is no other way you can create a `strict_lock`. BankAccount myAccount("John Doe", "123-45-6789"); - strict_locerk myLock(myAccount); // ok + strict_lock myLock(myAccount); // ok * You cannot copy `strict_lock`s to one another. In particular, you cannot pass `strict_lock`s by value to functions or have them returned by functions: @@ -468,7 +468,7 @@ We need a way to transfer the ownership from the `unique_lock` to a `strict_lock` the time we are working with `savingsAcct_` and then restore the ownership on `unique_lock`. void AccountManager::AMoreComplicatedChecking2Savings(int amount) { - unique_lock guard(*this, defer_lock); + unique_lock guard1(*this, defer_lock); if (some_condition()) { guard1.lock(); }