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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user