Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net