I found this: Zombie thread:
"For clarity, it seems to be two concepts of "zombie" related to LinuxThreads. One is which I would call a "zombie thread", which basically is a thread that has exited (by invoking pthread_exit() or returning from the, but has not yet been joined. These are reported by libthread_db as TD_THR_ZOMBIE." Maybe you have some place in your code where you create threads, but do not join() them later? Try setting up a small program that instantiates a lot of threads, say 100 of them, that will just do a for (int i = 0; i< 100; i++) and then waits ten seconds before exiting. You should get a 100 zombie threads. Then create an array of Thread and store the threads you create in in. Next, iterate over the array and join() each thread in turn. Then wait 10 seconds. You shouldn't have any zombie threads during the wait period. /LS > From: Berin Loritsch [mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
