Boost logo

Boost Users :

Subject: Re: [Boost-users] ASIO io_service behaviour
From: Igor R (boost.lists_at_[hidden])
Date: 2008-10-30 16:28:22

> I was expecting printHello to be called first, then print1, then print2, then print3 and print4, because that is the order the events were added to the io_service service.
> I expect I have missed some of, or misunderstood the documentation, but a
> few hints as to what is happening will be appreciated.

I do not see anything in the documentation that could make you think
so -- could you please quote the documentation excerpt you refer to?
I think the order of handlers invocation in your case is
implementation-defined and it's not a good idea to rely on it.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at