Hi,
I am using the threadpool to queue threads that do network file upload. Now, the problem is that every time I close my application while the threads are running in the back ground, I expectedly get some nasty errors. Now how can I decently and gracefully shut down my application or in other words end all running threads before exiting the application?
Thanks
I am using the threadpool to queue threads that do network file upload. Now, the problem is that every time I close my application while the threads are running in the back ground, I expectedly get some nasty errors. Now how can I decently and gracefully shut down my application or in other words end all running threads before exiting the application?
Thanks