user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

Question 328. How Do I Know When My Thread Pool Work Item Has Completed?

user image

Abhishek Mishra

2 years ago

Generally I would do something like this by having a counter variable. For each work item you queue in the ThreadPool add one to the counter variable. Then when it is processed you would decrease the counter variable.

Recent Doubts

Close [x]