pthreadPool changes