16 Feb
2010
16 Feb
'10
2:01 p.m.
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.