2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-20 15:12:11 +00:00

Thread: merge doc

[SVN r82037]
This commit is contained in:
Vicente J. Botet Escriba
2012-12-16 22:45:22 +00:00
parent 565a022a5a
commit 8ee9ed1904
7 changed files with 1482 additions and 58 deletions

View File

@@ -11,10 +11,15 @@
[@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2406.html Mutex, Lock, Condition Variable Rationale] adds rationale for the design decisions made for mutexes, locks and condition variables.
[section:locks Locks]
In addition to the C++11 standard locks, Boost.Thread provides other locks and some utilities that help the user to make their code thread-safe.
[include internal_locking.qbk]
[include external_locking.qbk]
[section:with Executing Around a Function]
In particular, the library provides some lock factories.
template <class Lockable, class Function>
@@ -34,6 +39,6 @@ that can be used as
});
[endsect] [/ Locks]
[endsect] [/ With]
[endsect] [/ Tutorial]