homework; create threads in pool; manager thread