Category: pthread_join
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 always. It depends on which mode thread is running. A Thread can run in two modes i.e. Joinable Mode Detached Mode Joinable Thread & pthread_join() …
POSIX : Detached vs Joinable threads | pthread_join() & pthread_detach() examplesRead More