
17 Sep
2009
17 Sep
'09
7:11 a.m.
Is it legal to mix async and sync function calls? (I was not able to find the answer in the doc.) E.g. socket.async_read_some(buf); socket.write_some(otherbuf); 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@ekiga.net | \__) | mailto:roland.schwarz@chello.at ________| http://www.blackspace.at