Different management of threads