diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 68bd119b..42892592 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) +# Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) # # 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) diff --git a/doc/asio.qbk b/doc/asio.qbk index 0a9ddfab..aba65f9c 100644 --- a/doc/asio.qbk +++ b/doc/asio.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) @@ -7,7 +7,7 @@ [library Boost.Asio [quickbook 1.4] - [copyright 2003 - 2011 Christopher M. Kohlhoff] + [copyright 2003 - 2012 Christopher M. Kohlhoff] [purpose Networking library] [license Distributed under the Boost Software License, Version 1.0. diff --git a/doc/doxy2qbk.pl b/doc/doxy2qbk.pl index 897b7253..4340250a 100644 --- a/doc/doxy2qbk.pl +++ b/doc/doxy2qbk.pl @@ -1,6 +1,6 @@ #!/usr/bin/perl -w -# Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) +# Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) # # 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) diff --git a/doc/examples.qbk b/doc/examples.qbk index 04288495..bd55e339 100644 --- a/doc/examples.qbk +++ b/doc/examples.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/history.qbk b/doc/history.qbk index 1e1dcfaf..a7dd1251 100644 --- a/doc/history.qbk +++ b/doc/history.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) @@ -7,6 +7,29 @@ [section:history Revision History] +[heading Asio 1.8.0 / Boost 1.49] + +* Added a new class template `basic_waitable_timer` based around the C++11 clock + type requirements. It may be used with the clocks from the C++11 `` + library facility or, if those are not available, Boost.Chrono. The typedefs + `high_resolution_timer`, `steady_timer` and `system_timer` may be used to + create timer objects for the standard clock types. +* Added a new `windows::object_handle` class for performing waits on Windows + kernel objects. Thanks go to Boris Schaeling for contributing substantially + to the development of this feature. +* On Linux, `connect()` can return EAGAIN in certain circumstances. Remapped + this to another error so that it doesn't look like a non-blocking operation + ([@https://svn.boost.org/trac/boost/ticket/6048 #6048]). +* Fixed a compile error on NetBSD + ([@https://svn.boost.org/trac/boost/ticket/6098 #6098]). +* Fixed deadlock on Mac OS X + ([@https://svn.boost.org/trac/boost/ticket/6275 #6275]). +* Fixed a regression in `buffered_write_stream` + ([@https://svn.boost.org/trac/boost/ticket/6310 #6310]). +* Fixed a non-paged pool "leak" on Windows when an `io_service` is repeatedly + run without anything to do + ([@https://svn.boost.org/trac/boost/ticket/6321 #6321]). + [heading Asio 1.6.1 / Boost 1.48] * Implemented various performance improvements, including: diff --git a/doc/index.xml b/doc/index.xml index 00ce855c..beca8d42 100644 --- a/doc/index.xml +++ b/doc/index.xml @@ -2,7 +2,7 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) @@ -60,6 +60,7 @@ [include requirements/IoControlCommand.qbk] [include requirements/IoObjectService.qbk] [include requirements/MutableBufferSequence.qbk] +[include requirements/ObjectHandleService.qbk] [include requirements/Protocol.qbk] [include requirements/RandomAccessHandleService.qbk] [include requirements/RawSocketService.qbk] @@ -85,7 +86,9 @@ [include requirements/SyncWriteStream.qbk] [include requirements/TimeTraits.qbk] [include requirements/TimerService.qbk] +[include requirements/WaitableTimerService.qbk] [include requirements/WaitHandler.qbk] +[include requirements/WaitTraits.qbk] [include requirements/WriteHandler.qbk] @@ -732,6 +735,15 @@ [^boost/asio/ssl.hpp] + + None + + + None + + + None + [^boost/asio.hpp] @@ -1405,6 +1417,9 @@ + + + diff --git a/doc/requirements.qbk b/doc/requirements.qbk index 2bcffd5c..3dbae38d 100644 --- a/doc/requirements.qbk +++ b/doc/requirements.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/AcceptHandler.qbk b/doc/requirements/AcceptHandler.qbk index 1e46eda7..ab656383 100644 --- a/doc/requirements/AcceptHandler.qbk +++ b/doc/requirements/AcceptHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/AsyncRandomAccessReadDevice.qbk b/doc/requirements/AsyncRandomAccessReadDevice.qbk index 6a3e180c..1a188780 100644 --- a/doc/requirements/AsyncRandomAccessReadDevice.qbk +++ b/doc/requirements/AsyncRandomAccessReadDevice.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/AsyncRandomAccessWriteDevice.qbk b/doc/requirements/AsyncRandomAccessWriteDevice.qbk index 8f77ef4b..830d4f4e 100644 --- a/doc/requirements/AsyncRandomAccessWriteDevice.qbk +++ b/doc/requirements/AsyncRandomAccessWriteDevice.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/AsyncReadStream.qbk b/doc/requirements/AsyncReadStream.qbk index 2903604b..5878048d 100644 --- a/doc/requirements/AsyncReadStream.qbk +++ b/doc/requirements/AsyncReadStream.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/AsyncWriteStream.qbk b/doc/requirements/AsyncWriteStream.qbk index 95f7c11c..3e0b76d4 100644 --- a/doc/requirements/AsyncWriteStream.qbk +++ b/doc/requirements/AsyncWriteStream.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/CompletionHandler.qbk b/doc/requirements/CompletionHandler.qbk index d09680f7..9825d90c 100644 --- a/doc/requirements/CompletionHandler.qbk +++ b/doc/requirements/CompletionHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ComposedConnectHandler.qbk b/doc/requirements/ComposedConnectHandler.qbk index d63446fd..e396b252 100644 --- a/doc/requirements/ComposedConnectHandler.qbk +++ b/doc/requirements/ComposedConnectHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ConnectHandler.qbk b/doc/requirements/ConnectHandler.qbk index 6ef63b6e..26ae272f 100644 --- a/doc/requirements/ConnectHandler.qbk +++ b/doc/requirements/ConnectHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ConstBufferSequence.qbk b/doc/requirements/ConstBufferSequence.qbk index a455c81f..f7094661 100644 --- a/doc/requirements/ConstBufferSequence.qbk +++ b/doc/requirements/ConstBufferSequence.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ConvertibleToConstBuffer.qbk b/doc/requirements/ConvertibleToConstBuffer.qbk index 4b984dbb..5667f47e 100644 --- a/doc/requirements/ConvertibleToConstBuffer.qbk +++ b/doc/requirements/ConvertibleToConstBuffer.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ConvertibleToMutableBuffer.qbk b/doc/requirements/ConvertibleToMutableBuffer.qbk index 0e013222..8b3278b0 100644 --- a/doc/requirements/ConvertibleToMutableBuffer.qbk +++ b/doc/requirements/ConvertibleToMutableBuffer.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/DatagramSocketService.qbk b/doc/requirements/DatagramSocketService.qbk index 1dce9eb4..de033b11 100644 --- a/doc/requirements/DatagramSocketService.qbk +++ b/doc/requirements/DatagramSocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/DescriptorService.qbk b/doc/requirements/DescriptorService.qbk index 590164c1..2c3cebd0 100644 --- a/doc/requirements/DescriptorService.qbk +++ b/doc/requirements/DescriptorService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/Endpoint.qbk b/doc/requirements/Endpoint.qbk index 820afdab..9207eb31 100644 --- a/doc/requirements/Endpoint.qbk +++ b/doc/requirements/Endpoint.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/GettableSerialPortOption.qbk b/doc/requirements/GettableSerialPortOption.qbk index 55c44c97..d227e914 100644 --- a/doc/requirements/GettableSerialPortOption.qbk +++ b/doc/requirements/GettableSerialPortOption.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/GettableSocketOption.qbk b/doc/requirements/GettableSocketOption.qbk index 7fb2c00d..f735d60d 100644 --- a/doc/requirements/GettableSocketOption.qbk +++ b/doc/requirements/GettableSocketOption.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/HandleService.qbk b/doc/requirements/HandleService.qbk index f8c0d450..c27c2285 100644 --- a/doc/requirements/HandleService.qbk +++ b/doc/requirements/HandleService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/Handler.qbk b/doc/requirements/Handler.qbk index 9b306906..e6fe3dc9 100644 --- a/doc/requirements/Handler.qbk +++ b/doc/requirements/Handler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/HandshakeHandler.qbk b/doc/requirements/HandshakeHandler.qbk index bb648aad..2b130fd2 100644 --- a/doc/requirements/HandshakeHandler.qbk +++ b/doc/requirements/HandshakeHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/InternetProtocol.qbk b/doc/requirements/InternetProtocol.qbk index d1c4725d..dcd2f1c9 100644 --- a/doc/requirements/InternetProtocol.qbk +++ b/doc/requirements/InternetProtocol.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/IoControlCommand.qbk b/doc/requirements/IoControlCommand.qbk index 1315ee4e..8a4f7a99 100644 --- a/doc/requirements/IoControlCommand.qbk +++ b/doc/requirements/IoControlCommand.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/IoObjectService.qbk b/doc/requirements/IoObjectService.qbk index e08ed274..a4afd057 100644 --- a/doc/requirements/IoObjectService.qbk +++ b/doc/requirements/IoObjectService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/MutableBufferSequence.qbk b/doc/requirements/MutableBufferSequence.qbk index d41e2323..4b9ad531 100644 --- a/doc/requirements/MutableBufferSequence.qbk +++ b/doc/requirements/MutableBufferSequence.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ObjectHandleService.qbk b/doc/requirements/ObjectHandleService.qbk new file mode 100644 index 00000000..1003f6d7 --- /dev/null +++ b/doc/requirements/ObjectHandleService.qbk @@ -0,0 +1,46 @@ +[/ + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / + / 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) + /] + +[section:ObjectHandleService Object handle service requirements] + +An object handle service must meet the requirements for a [link +boost_asio.reference.HandleService handle service], as well as the additional +requirements listed below. + +In the table below, `X` denotes an object handle service class, `a` denotes a +value of type `X`, `b` denotes a value of type `X::implementation_type`, `ec` +denotes a value of type `error_code`, and `wh` denotes a value meeting [link +boost_asio.reference.WaitHandler `WaitHandler`] requirements. + +[table ObjectHandleService requirements + [[expression] [return type] [assertion/note\npre/post-condition]] + [ + [`a.wait(b, ec);`] + [`error_code`] + [ + pre: `a.is_open(b)`.\n + \n + Synchronously waits for the object represented by handle `b` to become + signalled. + ] + ] + [ + [`a.async_wait(b, wh);`] + [`void`] + [ + pre: `a.is_open(b)`.\n + \n + Initiates an asynchronous operation to wait for the object represented by + handle `b` to become signalled. The operation is performed via the + `io_service` object `a.get_io_service()` and behaves according to [link + boost_asio.reference.asynchronous_operations asynchronous operation] + requirements. + ] + ] +] + +[endsect] diff --git a/doc/requirements/Protocol.qbk b/doc/requirements/Protocol.qbk index 5ec2d1a9..1bd31934 100644 --- a/doc/requirements/Protocol.qbk +++ b/doc/requirements/Protocol.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/RandomAccessHandleService.qbk b/doc/requirements/RandomAccessHandleService.qbk index 0169639e..342e7123 100644 --- a/doc/requirements/RandomAccessHandleService.qbk +++ b/doc/requirements/RandomAccessHandleService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/RawSocketService.qbk b/doc/requirements/RawSocketService.qbk index 45f06924..3c2c14de 100644 --- a/doc/requirements/RawSocketService.qbk +++ b/doc/requirements/RawSocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ReadHandler.qbk b/doc/requirements/ReadHandler.qbk index ad0125d2..42b43f74 100644 --- a/doc/requirements/ReadHandler.qbk +++ b/doc/requirements/ReadHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ResolveHandler.qbk b/doc/requirements/ResolveHandler.qbk index d6abeddd..aefa15a9 100644 --- a/doc/requirements/ResolveHandler.qbk +++ b/doc/requirements/ResolveHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ResolverService.qbk b/doc/requirements/ResolverService.qbk index d36cb4b4..8183cb61 100644 --- a/doc/requirements/ResolverService.qbk +++ b/doc/requirements/ResolverService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SeqPacketSocketService.qbk b/doc/requirements/SeqPacketSocketService.qbk index 717d856e..c884050f 100644 --- a/doc/requirements/SeqPacketSocketService.qbk +++ b/doc/requirements/SeqPacketSocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SerialPortService.qbk b/doc/requirements/SerialPortService.qbk index 41d6125b..d9bb6c78 100644 --- a/doc/requirements/SerialPortService.qbk +++ b/doc/requirements/SerialPortService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/Service.qbk b/doc/requirements/Service.qbk index 058ea1fa..cd394ca9 100644 --- a/doc/requirements/Service.qbk +++ b/doc/requirements/Service.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SettableSerialPortOption.qbk b/doc/requirements/SettableSerialPortOption.qbk index eeb78c6c..330f789c 100644 --- a/doc/requirements/SettableSerialPortOption.qbk +++ b/doc/requirements/SettableSerialPortOption.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SettableSocketOption.qbk b/doc/requirements/SettableSocketOption.qbk index 4def0364..bd76fd62 100644 --- a/doc/requirements/SettableSocketOption.qbk +++ b/doc/requirements/SettableSocketOption.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/ShutdownHandler.qbk b/doc/requirements/ShutdownHandler.qbk index 1a288851..7eb6b8a0 100644 --- a/doc/requirements/ShutdownHandler.qbk +++ b/doc/requirements/ShutdownHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SignalHandler.qbk b/doc/requirements/SignalHandler.qbk index 36b7e9b3..26c2f9a9 100644 --- a/doc/requirements/SignalHandler.qbk +++ b/doc/requirements/SignalHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SignalSetService.qbk b/doc/requirements/SignalSetService.qbk index f222ee74..db4fc841 100644 --- a/doc/requirements/SignalSetService.qbk +++ b/doc/requirements/SignalSetService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SocketAcceptorService.qbk b/doc/requirements/SocketAcceptorService.qbk index cdef31f0..5d5fd992 100644 --- a/doc/requirements/SocketAcceptorService.qbk +++ b/doc/requirements/SocketAcceptorService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SocketService.qbk b/doc/requirements/SocketService.qbk index 6b68b3ce..7caeb23a 100644 --- a/doc/requirements/SocketService.qbk +++ b/doc/requirements/SocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/StreamDescriptorService.qbk b/doc/requirements/StreamDescriptorService.qbk index 63b5d3a2..db58a5dd 100644 --- a/doc/requirements/StreamDescriptorService.qbk +++ b/doc/requirements/StreamDescriptorService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/StreamHandleService.qbk b/doc/requirements/StreamHandleService.qbk index 422aba15..58fb820a 100644 --- a/doc/requirements/StreamHandleService.qbk +++ b/doc/requirements/StreamHandleService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/StreamSocketService.qbk b/doc/requirements/StreamSocketService.qbk index 5ccb6c4f..68762e1f 100644 --- a/doc/requirements/StreamSocketService.qbk +++ b/doc/requirements/StreamSocketService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SyncRandomAccessReadDevice.qbk b/doc/requirements/SyncRandomAccessReadDevice.qbk index 1c8e7677..989d132a 100644 --- a/doc/requirements/SyncRandomAccessReadDevice.qbk +++ b/doc/requirements/SyncRandomAccessReadDevice.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SyncRandomAccessWriteDevice.qbk b/doc/requirements/SyncRandomAccessWriteDevice.qbk index 64dd33bf..65eacd9e 100644 --- a/doc/requirements/SyncRandomAccessWriteDevice.qbk +++ b/doc/requirements/SyncRandomAccessWriteDevice.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SyncReadStream.qbk b/doc/requirements/SyncReadStream.qbk index 52fd9abc..59e58920 100644 --- a/doc/requirements/SyncReadStream.qbk +++ b/doc/requirements/SyncReadStream.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/SyncWriteStream.qbk b/doc/requirements/SyncWriteStream.qbk index d092dd3f..3500d2c0 100644 --- a/doc/requirements/SyncWriteStream.qbk +++ b/doc/requirements/SyncWriteStream.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/TimeTraits.qbk b/doc/requirements/TimeTraits.qbk index 42a0e02b..956fd8d5 100644 --- a/doc/requirements/TimeTraits.qbk +++ b/doc/requirements/TimeTraits.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/TimerService.qbk b/doc/requirements/TimerService.qbk index d1a82d55..dadca8ed 100644 --- a/doc/requirements/TimerService.qbk +++ b/doc/requirements/TimerService.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/WaitHandler.qbk b/doc/requirements/WaitHandler.qbk index 782a0311..dd3966c6 100644 --- a/doc/requirements/WaitHandler.qbk +++ b/doc/requirements/WaitHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/WaitTraits.qbk b/doc/requirements/WaitTraits.qbk new file mode 100644 index 00000000..1514e3d8 --- /dev/null +++ b/doc/requirements/WaitTraits.qbk @@ -0,0 +1,26 @@ +[/ + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / + / 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) + /] + +[section:WaitTraits Wait traits requirements] + +In the table below, `X` denotes a wait traits class for clock type `Clock`, +where `Clock` meets the C++11 type requirements for a clock, and `d` denotes +a value of type `Clock::duration`. + +[table WaitTraits requirements + [[expression] [return type] [assertion/note\npre/post-condition]] + [ + [`X::to_wait_duration(d);`] + [`Clock::duration`] + [ + Returns the maximum duration to be used for an individual, + implementation-defined wait operation. + ] + ] +] + +[endsect] diff --git a/doc/requirements/WaitableTimerService.qbk b/doc/requirements/WaitableTimerService.qbk new file mode 100644 index 00000000..ca3aac3f --- /dev/null +++ b/doc/requirements/WaitableTimerService.qbk @@ -0,0 +1,104 @@ +[/ + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / + / 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) + /] + +[section:WaitableTimerService Waitable timer service requirements] + +A waitable timer service must meet the requirements for an [link +boost_asio.reference.IoObjectService I/O object service], as well as the +additional requirements listed below. + +In the table below, `X` denotes a waitable timer service class for clock type +`Clock`, where `Clock` meets the C++11 clock type requirements, `a` denotes a +value of type `X`, `b` denotes a value of type `X::implementation_type`, `t` +denotes a value of type `Clock::time_point`, `d` denotes a value of type +`Clock::duration`, `e` denotes a value of type `error_code`, and `h` denotes a +value meeting [link boost_asio.reference.WaitHandler `WaitHandler`] requirements. + +[table WaitableTimerService requirements + [[expression] [return type] [assertion/note\npre/post-condition]] + [ + [`a.destroy(b);`] + [] + [ + From [link boost_asio.reference.IoObjectService IoObjectService] + requirements. Implicitly cancels asynchronous wait operations, as if by + calling `a.cancel(b, e)`. + ] + ] + [ + [`` + a.cancel(b, e); + ``] + [`size_t`] + [ + Causes any outstanding asynchronous wait operations to complete as soon + as possible. Handlers for cancelled operations shall be passed the error + code `error::operation_aborted`. Sets `e` to indicate success or failure. + Returns the number of operations that were cancelled. + ] + ] + [ + [`a.expires_at(b);`] + [`Clock::time_point`] + [] + ] + [ + [`` + a.expires_at(b, t, e); + ``] + [`size_t`] + [ + Implicitly cancels asynchronous wait operations, as if by calling + `a.cancel(b, e)`. Returns the number of operations that were cancelled.\n + post: `a.expires_at(b) == t`. + ] + ] + [ + [`a.expires_from_now(b);`] + [`Clock::duration`] + [ + Returns a value equivalent to `a.expires_at(b) - Clock::now()`. + ] + ] + [ + [`` + a.expires_from_now(b, d, e); + ``] + [`size_t`] + [ + Equivalent to `a.expires_at(b, Clock::now() + d, e)`. + ] + ] + [ + [`` + a.wait(b, e); + ``] + [`error_code`] + [ + Sets `e` to indicate success or failure. Returns `e`.\n + post: `!!e || !(Clock::now() < a.expires_at(b))`. + ] + ] + [ + [`` + a.async_wait(b, h); + ``] + [] + [ + Initiates an asynchronous wait operation that is performed via the + `io_service` object `a.get_io_service()` and behaves according to [link + boost_asio.reference.asynchronous_operations asynchronous operation] + requirements.\n + \n + The handler shall be posted for execution only if the condition + `!!ec || !(Clock::now() < a.expires_at(b))` + holds, where `ec` is the error code to be passed to the handler. + ] + ] +] + +[endsect] diff --git a/doc/requirements/WriteHandler.qbk b/doc/requirements/WriteHandler.qbk index fda2524c..a33d2a65 100644 --- a/doc/requirements/WriteHandler.qbk +++ b/doc/requirements/WriteHandler.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/requirements/asynchronous_operations.qbk b/doc/requirements/asynchronous_operations.qbk index 8e8c09b7..b539536a 100644 --- a/doc/requirements/asynchronous_operations.qbk +++ b/doc/requirements/asynchronous_operations.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) diff --git a/doc/std_exception_dox.txt b/doc/std_exception_dox.txt index abd9f825..4e7222bb 100644 --- a/doc/std_exception_dox.txt +++ b/doc/std_exception_dox.txt @@ -1,5 +1,5 @@ // -// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) diff --git a/doc/tutorial.qbk b/doc/tutorial.qbk index 29573b9d..d22631b6 100644 --- a/doc/tutorial.qbk +++ b/doc/tutorial.qbk @@ -1,5 +1,5 @@ [/ - / Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + / Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) / / 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) @@ -142,7 +142,7 @@ Next: [link boost_asio.tutorial.tuttimer2 Timer.2 - Using a timer asynchronously ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -242,7 +242,7 @@ Next: [link boost_asio.tutorial.tuttimer3 Timer.3 - Binding arguments to a handl ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -390,7 +390,7 @@ Next: [link boost_asio.tutorial.tuttimer4 Timer.4 - Using a member function as a ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -551,7 +551,7 @@ Next: [link boost_asio.tutorial.tuttimer5 Timer.5 - Synchronising handlers in mu ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -751,7 +751,7 @@ Previous: [link boost_asio.tutorial.tuttimer4 Timer.4 - Using a member function ``''''''``// timer.cpp ``''''''``// ~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -959,7 +959,7 @@ Next: [link boost_asio.tutorial.tutdaytime2 Daytime.2 - A synchronous TCP daytim ``''''''``// client.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -1118,7 +1118,7 @@ Next: [link boost_asio.tutorial.tutdaytime3 Daytime.3 - An asynchronous TCP dayt ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -1370,7 +1370,7 @@ Next: [link boost_asio.tutorial.tutdaytime4 Daytime.4 - A synchronous UDP daytim ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -1591,7 +1591,7 @@ Next: [link boost_asio.tutorial.tutdaytime5 Daytime.5 - A synchronous UDP daytim ``''''''``// client.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -1734,7 +1734,7 @@ Next: [link boost_asio.tutorial.tutdaytime6 Daytime.6 - An asynchronous UDP dayt ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -1952,7 +1952,7 @@ Next: [link boost_asio.tutorial.tutdaytime7 Daytime.7 - A combined TCP/UDP async ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) @@ -2231,7 +2231,7 @@ Previous: [link boost_asio.tutorial.tutdaytime6 Daytime.6 - An asynchronous UDP ``''''''``// server.cpp ``''''''``// ~~~~~~~~~~ ``''''''``// - ``''''''``// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) + ``''''''``// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) ``''''''``// ``''''''``// 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) diff --git a/doc/tutorial.xsl b/doc/tutorial.xsl index f99fae61..3b6f530f 100644 --- a/doc/tutorial.xsl +++ b/doc/tutorial.xsl @@ -2,7 +2,7 @@