|
Boost Users : |
Subject: Re: [Boost-users] ASIO Win32 Thread not terminated
From: Igor R (boost.lists_at_[hidden])
Date: 2010-09-15 10:04:05
> You're right, the number of threads doesn't increase when I create more clients.
> Still, I'd like to know when these threads terminate. Do they nescessarily run until the app exits, or is there a way of telling asio 'hey, I'm done with sockets now, no need to keep these threads running'.
Obviously, it's implementation-dependent, and I really don't know how
it behaves in the current implementation. But you can try and dispose
all the asio objects (including io_services) and see if this helps.
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