|
Boost Users : |
Subject: Re: [Boost-users] [ASIO] When the work object is destroyed?
From: Daniele Barzotti (daniele.barzotti_at_[hidden])
Date: 2010-02-16 09:01:12
Il 16/02/2010 12:32, Igor R ha scritto:
>> All works but, if when I create an object after the thread is ended, the io_service returns immediately..
>
> I couldn't understand from your description and example what problem
> you're talking about, but if you mean that you try to call
> io_service::run() again, after the previous call to io_service::run()
> exited -- then you have to interleave these calls with
> io_service::reset().
Yes, it is exactly what I asking for!
Thanks Igor!
Daniele.
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