003 Linux System ProgrammingIssues, queries and suggestions related to Linux, Linux Programming, IPC, Interprocess Communication, Synchronization, Semaphore, System Programming, Linux Software Development. » 003.11.POSIX-Threads
joinable threads are those threads that depend on other thread or creater threads to release their resources after completion .
detached threads are independent threads which does not depend on other threads for resource deallocation .These threads automatically release their resources once they terminates .
when pthread_exit() is called by deattach threads ,no pthread join is required to clean up the resources.
while in case of joinable threads when created threads executes pthreads_exit() its exit code is fetched by creater threads using pthreads_join() and its resource is deallocated .