$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] simultaneous async_read_some and async_write using strand
From: Chris Stankevitz (chrisstankevitz_at_[hidden])
Date: 2012-08-27 13:13:00
Hello,
Q1: If I call async_write while there is a pending async_read_some in
a single-threaded environment, can the write complete before the read
completes? (i.e. will I need to receive some data before the write
goes out?)
Q2: Same question, but if I am using strand to serialize the operations.
Thank you,
Chris