Tidy up some documentation

This commit is contained in:
Vinnie Falco
2017-11-05 09:29:33 -08:00
parent e8e340d098
commit 120617f438
4 changed files with 16 additions and 8 deletions

View File

@@ -1,3 +1,9 @@
Version 138:
* Tidy up some documentation
--------------------------------------------------------------------------------
Version 137:
* ConstBufferSequence mandates pointer equivalence

View File

@@ -146,7 +146,7 @@ read_some(
This operation is implemented in terms of zero or more calls to
the next layer's `async_read_some` function, and is known as a
<em>composed operation</em>. The program must ensure that the
stream performs no other operations until this operation completes.
stream performs no other reads until this operation completes.
The implementation may read additional octets that lie past the
end of the object being parsed. This additional data is stored
in the stream buffer, which may be used in subsequent calls.
@@ -332,7 +332,7 @@ read_header(
This operation is implemented in terms of one or more calls to
the stream's `async_read_some` function, and is known as a
<em>composed operation</em>. The program must ensure that the
stream performs no other operations until this operation completes.
stream performs no other reads until this operation completes.
The implementation may read additional octets that lie past the
end of the message being read. This additional data is stored
in the dynamic buffer, which must be retained for subsequent reads.
@@ -516,7 +516,7 @@ read(
This operation is implemented in terms of one or more calls to
the stream's `async_read_some` function, and is known as a
<em>composed operation</em>. The program must ensure that the
stream performs no other operations until this operation completes.
stream performs no other reads until this operation completes.
The implementation may read additional octets that lie past the
end of the message being read. This additional data is stored
in the dynamic buffer, which must be retained for subsequent reads.
@@ -698,7 +698,7 @@ read(
This operation is implemented in terms of one or more calls to
the stream's `async_read_some` function, and is known as a
<em>composed operation</em>. The program must ensure that the
stream performs no other operations until this operation completes.
stream performs no other reads until this operation completes.
The implementation may read additional octets that lie past the
end of the message being read. This additional data is stored
in the dynamic buffer, which must be retained for subsequent reads.

View File

@@ -130,7 +130,7 @@ write_some(
This operation is implemented in terms of zero or more calls to the stream's
`async_write_some` function, and is known as a <em>composed operation</em>.
The program must ensure that the stream performs no other write operations
The program must ensure that the stream performs no other writes
until this operation completes.
The amount of data actually transferred is controlled by the behavior
@@ -259,7 +259,7 @@ write_header(
This operation is implemented in terms of zero or more calls to the stream's
`async_write_some` function, and is known as a <em>composed operation</em>.
The program must ensure that the stream performs no other write operations
The program must ensure that the stream performs no other writes
until this operation completes.
@param stream The stream to which the data is to be written.
@@ -377,7 +377,7 @@ write(
This operation is implemented in terms of zero or more calls to the stream's
`async_write_some` function, and is known as a <em>composed operation</em>.
The program must ensure that the stream performs no other write operations
The program must ensure that the stream performs no other writes
until this operation completes.
@param stream The stream to which the data is to be written.
@@ -491,7 +491,7 @@ write(
This operation is implemented in terms of zero or more calls to the stream's
`async_write_some` function, and is known as a <em>composed operation</em>.
The program must ensure that the stream performs no other write operations
The program must ensure that the stream performs no other writes
until this operation completes. The algorithm will use a temporary
@ref serializer with an empty chunk decorator to produce buffers.

View File

@@ -86,6 +86,8 @@ enum class frame_type
@par Thread Safety
@e Distinct @e objects: Safe.@n
@e Shared @e objects: Unsafe.
The application must also ensure that all asynchronous
operations are performed within the same implicit or explicit strand.
@par Example