Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] Pending handlers not invoked in boost.asio?
From: michi7x7 (mailing-lists_at_[hidden])
Date: 2011-05-08 07:00:30


Hi,

>> My EXACT problem is that when the THIRD client connects, after
>> invoking ClientContext::asyncReadMessageFromSocketIntoQueue
>> once and reaching the first yield, it is never invoked again, even if
>> I passed the handler function.
>
>
> I don't have answers to your questions, but I just would like to bring
> to your attention that, IUUC, Coroutines are neigher a part of
> official asio release, nor a part of boost, so there're little chances
> that many people are familiar with this library.
>

it's in /libs/asio/example/http/server4/coroutine.hpp and basically
works with one huge switch-case construct.

-- 
Best regards,
michi7x7

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