Microsoft interview question

implement pool thread of up to 7 threads