added a few functions into thread_pool.c
most of thread_pool.c implemented