I was trying to do a batch process, where I have all the requests in a
table. I need to scan the table and for each entry I need to run a
thread (since it is long running process). This table get added
dynamically while this batch process is running. So I am trying to
findout the optimal way to use threadpool to achive this.
I have looked at couple of examples on the web and all of them takes
all the requests and queue them up. There is no logic in there to do
what I am trying to do. Is it possible to do this with Threadpool? Any
link or suggestion greatly appriciated.
Thanks.