Pthread
From Teknologisk videncenter
Releasing ressources used by a pthread
To release the ressources - memory for stack and householding - it is necessary to call either pthread_detach or pthread_join. The ressources are not released when the pthread exits without one of these calls.