Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-01-31 17:48:59


Author: hkaiser
Date: 2008-01-31 17:48:56 EST (Thu, 31 Jan 2008)
New Revision: 43042
URL: http://svn.boost.org/trac/boost/changeset/43042

Log:
Wave: Added additional configuration possibility to allow control threading support. Updated the documentation.
Text files modified:
   trunk/libs/wave/ChangeLog | 6 +++++-
   trunk/libs/wave/doc/compiletime_config.html | 17 ++++++++++++++++-
   2 files changed, 21 insertions(+), 2 deletions(-)

Modified: trunk/libs/wave/ChangeLog
==============================================================================
--- trunk/libs/wave/ChangeLog (original)
+++ trunk/libs/wave/ChangeLog 2008-01-31 17:48:56 EST (Thu, 31 Jan 2008)
@@ -25,7 +25,11 @@
 CHANGELOG
 
 - Wave Version 1.4
-
+- Added the BOOST_WAVE_SUPPORT_THREADING allowing to explicitelz control
+ whether the Wave library is built with threading support enabled. If not
+ defined the build settings will be picked up from the Boost build environment
+ (BOOST_HAS_THREADS).
+
 Boost V1.35.0
 - Wave Version 1.3
 - Changed the return value of the 'evaluated_conditional_expression()' pp hook

Modified: trunk/libs/wave/doc/compiletime_config.html
==============================================================================
--- trunk/libs/wave/doc/compiletime_config.html (original)
+++ trunk/libs/wave/doc/compiletime_config.html 2008-01-31 17:48:56 EST (Thu, 31 Jan 2008)
@@ -131,6 +131,21 @@
     </p>
       </td>
   </tr>
+ <tr>
+ <td class="table_cells">
+ <code>BOOST_WAVE_SUPPORT_THREADING</code></td>
+ <td class="table_cells">
+ <p>This preprocessor constant allows to configer whether the Wave library will be built
+ with threading support enabled or not. This value (if defined) should be set to
+ zero ('0') if threading needs to be disabled and to a numerical value not equal
+ to zero, if threading should be enabled explicitely.
+ </p>
+ <p>
+ If this constant is not defined, the Wave library will be built using the threading
+ as picked up from the Boost build environment (see <code>BOOST_HAS_THREADS</code> in the Boost
+ configuration dosumentation).</p>
+ </td>
+ </tr>
 </table>
 <P dir="ltr"><b><a name="using_custom_lexer"></a>Using a different token type or lexer type in conjunction with Wave </b></P>
 <P dir="ltr">It is possible to use the <tt>Wave</tt> library while using your own token and/or lexer types. This may be achieved by providing your lexer type as the second template parameter while instantiating the <tt>boost::wave::context&lt;&gt;</tt> object. The token type used by the library is derived from the <tt>token_type</tt> typedef to be provided by the lexer type. If you want to provide your own token type only, you may use the <tt>boost::wave::lex_iterator&lt;&gt;</tt> type contained with the library. This type needs to be parametrized with the token type to use. </P>
@@ -229,7 +244,7 @@
 <font size="2">Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) </font> </p>
 <span class="updated"></span>
 <p class="copyright"><span class="updated">Last updated:
- <!-- #BeginDate format:fcAm1m -->Wednesday, July 4, 2007 13:21<!-- #EndDate -->
+ <!-- #BeginDate format:fcAm1m -->Wednesday, January 31, 2008 16:50<!-- #EndDate -->
 </span></p>
 </body>
 </html>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk