I am using Delphi xe 5 for an application which uses Indy to manage my server application
Each client connection gets its own session which is perfect
Now I need to perform several tasks in aysnc way within one of these sessions
When all of these tasks have been completed control can go back to the caller
I am looking into using a local scoped thread pool in my procedure which will place each task to be performed into the thread pool
I have seen the TIdThreadMgrPool which looks perfect
How do wait until all of my threads have finished?
Paul