I had a problem of system resources occupation in a program that usesd \'pthread_create\' function repeatedly. The threads in a brief time saturated the system resources and