Thanx for the reply Roman.
Well, for what i've understood, if i use the strand i'll have concurrent callback handlers, but each handler will execute serially, is that right?
> The first way would be multiple calls to io_service.run, each in a differentfirst way. Because it is natural.
> thread, using the strand object to synchronize the callback handlers. The
> other way is to explicit use threads and locks with the boost::thread lib.
> So could you point me what would be the main differences (maybe advantages
> and disadvantages) between both ways? What way do you think is it better? I
> want to hear some opinions.
The second way is probably something that has sense for synchronous operations,
but words "scalability" and "responsiveness" are often used with word "async".
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users