I hear you. I guess this error is due to some other reason. Let me poke around some more.
So launching a thread from within another thread is fine. Not so different (at least in principle) from the main thread detaching threads. What about recursively detaching threads? i.e., one thread, launches a thread and that thread launches another thread and son on... Say N times. N finite :-)
I know the complexity would increase greatly and I would bet that their is rarely, if any, need for something like this but I just want to understand this topic a little better.
Is it equivalent from a resource allocation perspective (memory, CPU) to having the main thread detach N threads?
Thanks!
