POSIX : Detached vs Joinable threads | pthread_join() & pthread_detach() examples

With every thread some resources are associated like stack and thread local storage etc.  When a thread exits ideally these resources should be reclaimed by process automatically. But that doesn’t happens … Continue reading POSIX : Detached vs Joinable threads | pthread_join() & pthread_detach() examples