I understand that all daemon threads are detached threads, but why are all detached threads not daemon?
Say thread "main" creates thread "A"(non-detached) and thread "A" creates thread "B"(detached). Can thread "A" exit while "B" continues running?
PS: I am asking with reference to pthreads, but please do answer regardless.