From fc9153d7ed656c341ffdecec57d268848be21d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 26 Dec 2011 11:09:52 +0000 Subject: [PATCH] Documentation fixes [SVN r76169] --- doc/interprocess.qbk | 28 +++++++++++++++++---------- example/comp_doc_anonymous_mutexA.cpp | 3 +++ 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/doc/interprocess.qbk b/doc/interprocess.qbk index aa17758..a93dcc6 100644 --- a/doc/interprocess.qbk +++ b/doc/interprocess.qbk @@ -73,14 +73,9 @@ your system's documentation to know which library implements them. [*Boost.Interprocess] has been tested in the following compilers/platforms: -* Visual 7.1 Windows XP -* Visual 8.0 Windows XP -* GCC 4.1.1 MinGW -* GCC 3.4.4 Cygwin -* Intel 9.1 Windows XP -* GCC 4.1.2 Linux -* GCC 3.4.3 Solaris 11 -* GCC 4.0 MacOs 10.4.1 +* Visual >= 7.1 +* GCC >= 4.1 +* Intel 11 [endsect] @@ -6523,7 +6518,7 @@ specialization of `boost::interprocess::is_node_index<...>` defined in struct is_node_index > { - enum { value = true }; + static const bool value = true; }; Interprocess also defines other index types: @@ -6608,7 +6603,20 @@ thank them: [@https://svn.boost.org/trac/boost/ticket/6233 #6233], [@https://svn.boost.org/trac/boost/ticket/6287 #6287], [@https://svn.boost.org/trac/boost/ticket/6054 #6054], - [@https://svn.boost.org/trac/boost/ticket/5326 #5326]. + [@https://svn.boost.org/trac/boost/ticket/5772 #5772], + [@https://svn.boost.org/trac/boost/ticket/5738 #5738], + [@https://svn.boost.org/trac/boost/ticket/5622 #5622], + [@https://svn.boost.org/trac/boost/ticket/5552 #5552], + [@https://svn.boost.org/trac/boost/ticket/5518 #5518], + [@https://svn.boost.org/trac/boost/ticket/4655 #4655], + [@https://svn.boost.org/trac/boost/ticket/4452 #4452], + [@https://svn.boost.org/trac/boost/ticket/4383 #4383], + [@https://svn.boost.org/trac/boost/ticket/4297 #4297]. + +* Fixed timed functions in mutex implementations to fulfill POSIX requirements: + ['Under no circumstance shall the function fail with a timeout if the mutex can be locked + immediately. The validity of the abs_timeout parameter need not be checked if the mutex + can be locked immediately.] [endsect] diff --git a/example/comp_doc_anonymous_mutexA.cpp b/example/comp_doc_anonymous_mutexA.cpp index 11833ea..d27933f 100644 --- a/example/comp_doc_anonymous_mutexA.cpp +++ b/example/comp_doc_anonymous_mutexA.cpp @@ -27,6 +27,9 @@ int main () shm_remove() { shared_memory_object::remove("MySharedMemory"); } ~shm_remove(){ shared_memory_object::remove("MySharedMemory"); } } remover; + //<- + (void)remover; + //-> //Create a shared memory object. shared_memory_object shm