Boost logo

Boost :

Subject: [boost] [asio] Mixing of sync and async calls
From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2009-09-17 03:11:07

Is it legal to mix async and sync function calls?
(I was not able to find the answer in the doc.)



Also when in a blocking sync call, will it be
possible to "cancel" it from another thread,
e.g. by posting to the io_service which will
invoke a close on the socket?

Thank you in advance.

  _  _  | Roland Schwarz aka. speedsnail
 |_)(_  | sip:speedsnail_at_[hidden]
 | \__) | mailto:roland.schwarz_at_[hidden]

Boost list run by bdawes at, gregod at, cpdaniel at, john at