Fix names of _Lock_policy constants in libstdc++ manual
* doc/xml/manual/shared_ptr.xml: Fix names of lock policy constants. From-SVN: r271465
This commit is contained in:
parent
78e5da0aa8
commit
049f115abb
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2019-05-21 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* doc/xml/manual/shared_ptr.xml: Fix names of lock policy constants.
|
||||
|
||||
2019-05-20 Thomas Rodgers <trodgers@redhat.com>
|
||||
|
||||
PR libstdc++/90252
|
||||
|
|
|
@ -239,7 +239,7 @@ available policies are:
|
|||
<orderedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>_S_Atomic</constant>
|
||||
<constant>_S_atomic</constant>
|
||||
</para>
|
||||
<para>
|
||||
Selected when GCC supports a builtin atomic compare-and-swap operation
|
||||
|
@ -252,7 +252,7 @@ synchronisation.
|
|||
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>_S_Mutex</constant>
|
||||
<constant>_S_mutex</constant>
|
||||
</para>
|
||||
<para>
|
||||
The _Sp_counted_base specialization for this policy contains a mutex,
|
||||
|
@ -263,7 +263,7 @@ builtins aren't available so explicit memory barriers are needed in places.
|
|||
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>_S_Single</constant>
|
||||
<constant>_S_single</constant>
|
||||
</para>
|
||||
<para>
|
||||
This policy uses a non-reentrant add_ref_lock() with no locking. It is
|
||||
|
|
Loading…
Add table
Reference in a new issue