Anyone knows the easy way to do so?
Basically after I queue all works, I want to wait until all I queued has been done. How do I do so?
loopThroughAllBlog(whattodo, login)'queue all works
//what to do here to wait till all queued works are done.
Dim whatToWrite = New Generic.List(Of String)
For Each domain In domainsSorted
whatToWrite.Add(dictionaryOfOutput.Item(domain))
Next
coltofile(whatToWrite, "output.txt", True)
I notice there is no way to know how many threads are still running in the threadpool.
I ended up answering my own question because there is no answer.
I think this is just awkward. There has to be a better way.