
16 Mar
2010
16 Mar
'10
3:20 p.m.
Andrey Semashev wrote:
On 03/15/2010 11:31 PM, vicente.botet wrote:
If ASIO can not be used on a single thread environement a clear error should be desirable when compiled on this environement.
As I noted, I haven't yet defined the best solution for this problem. In fact, I've been hoping that reviewers suggest which solution might be better:
AFAIK, Asio can run in a single thread just fine - unless you are using parts of Asio that need a separate thread to emulate asynchronous behavior. These parts are, IIRC, the resolver and the select_reactor on Windows. Cheers, Rutger