aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2015-07-17 17:08:14 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2015-07-17 17:08:14 +0100
commit9298e25f6c5d5606fa140aa6a192b72f201daa56 (patch)
treefafb0bdd4d0a236f1c67143500c7c827268f63b3 /libstdc++-v3
parentf7b7b0aab82d50165f9d3fb375cd506af999a288 (diff)
downloadgcc-9298e25f6c5d5606fa140aa6a192b72f201daa56.zip
gcc-9298e25f6c5d5606fa140aa6a192b72f201daa56.tar.gz
gcc-9298e25f6c5d5606fa140aa6a192b72f201daa56.tar.bz2
status_cxx2011.xml: Add caveats for native_handle.
* doc/xml/manual/status_cxx2011.xml: Add caveats for native_handle. * doc/html/manual/status.html: Regenerate. From-SVN: r225939
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/doc/html/manual/status.html5
-rw-r--r--libstdc++-v3/doc/xml/manual/status_cxx2011.xml5
3 files changed, 13 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3362427..7f1a85c 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-17 Jonathan Wakely <jwakely@redhat.com>
+
+ * doc/xml/manual/status_cxx2011.xml: Add caveats for native_handle.
+ * doc/html/manual/status.html: Regenerate.
+
2015-07-16 François Dumont <fdumont@gcc.gnu.org>
* include/bits/stl_algobase.h (__miter_base): Move...
diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html
index 0885b5d..e28bfba 100644
--- a/libstdc++-v3/doc/html/manual/status.html
+++ b/libstdc++-v3/doc/html/manual/status.html
@@ -297,7 +297,10 @@ particular release.
<span class="emphasis"><em>30.2.3 [thread.req.native]/1</em></span>
<code class="classname">native_handle_type</code> and
<code class="methodname">native_handle</code> are provided. The handle types
- are defined in terms of the Gthreads abstraction layer.
+ are defined in terms of the Gthreads abstraction layer, although this
+ is subject to change at any time. Any use of
+ <code class="classname">native_handle</code> is inherently non-portable and
+ not guaranteed to work between major releases of GCC.
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><code class="classname">thread</code>: The native handle type is
a typedef for <code class="code">__gthread_t</code> i.e. <code class="code">pthread_t</code>
when GCC is configured with the <code class="literal">posix</code> thread
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml
index 2b99b9d..cf99956 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml
@@ -2670,7 +2670,10 @@ particular release.
<emphasis>30.2.3 [thread.req.native]/1</emphasis>
<classname>native_handle_type</classname> and
<methodname>native_handle</methodname> are provided. The handle types
- are defined in terms of the Gthreads abstraction layer.
+ are defined in terms of the Gthreads abstraction layer, although this
+ is subject to change at any time. Any use of
+ <classname>native_handle</classname> is inherently non-portable and
+ not guaranteed to work between major releases of GCC.
<itemizedlist>
<listitem><para><classname>thread</classname>: The native handle type is
a typedef for <code>__gthread_t</code> i.e. <code>pthread_t</code>