Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] Why are the strands in the "HTTP Server 3" example necessary?
From: Boris Haeberlein (tacheon_at_[hidden])
Date: 2010-01-12 12:26:33


Jose <jmalv04 <at> gmail.com> writes:

> Hi,
>
> The strands are not required in the example but would be if the
> example was improved to include timeouts (which I recall Chris was
> planning to)
>
> regards
>

That seems to be convenient. When there is more then one handler is active at a
given time, the strand makes sense to me.
So may be the example should be revamped eventually. Or it shouldn't be declared
as a strand example, at least.


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