Sha256: b73fd3c6dbfb0872a981fae6aba6b9841debec985433b2c2d8979ceb9b5caa3b

Contents?: true

Size: 1.56 KB

Versions: 24

Compression:

Stored size: 1.56 KB

Contents

[/
 / Copyright (c) 2003-2020 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:read_write_operations Requirements on read and write operations]

A ['read operation] is an operation that reads data into a mutable buffer
sequence argument of a type meeting [link asio.reference.MutableBufferSequence
`MutableBufferSequence`] requirements. The mutable buffer sequence specifies
memory where the data should be placed. A read operation shall always fill a
buffer in the sequence completely before proceeding to the next.

A ['write operation] is an operation that writes data from a constant buffer
sequence argument of a type meeting [link asio.reference.ConstBufferSequence
`ConstBufferSequence`] requirements. The constant buffer sequence specifies
memory where the data to be written is located. A write operation shall always
write a buffer in the sequence completely before proceeding to the next.

If a read or write operation is also an [link
asio.reference.asynchronous_operations asynchronous operation], the operation
shall maintain one or more copies of the buffer sequence until such time as the
operation no longer requires access to the memory specified by the buffers in
the sequence. The program shall ensure the memory remains valid until:

[mdash] the last copy of the buffer sequence is destroyed, or

[mdash] the completion handler for the asynchronous operation is invoked,

whichever comes first.

[endsect]

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
couchbase-3.0.0-universal-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.beta.1-universal-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.beta.1 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.5-x86_64-linux ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.5-universal-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.5-x86_64-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.5 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.4-x86_64-linux ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.4-x86_64-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.4 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.3-x86_64-linux ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.3-x86_64-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.3-universal-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.3 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.2-x86_64-linux ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.2-x86_64-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.2-universal-darwin-19 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk
couchbase-3.0.0.alpha.2 ext/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk