Alteração threads.h e threads.cpp