Primary menu

Thread

For one of my program I was in need to use thread pooling. I tried two of available, then wrote one myself. Rather than waiting for threads by calling join() I implemented checking in a while loop for finishing of threads. The code is given below: