in reply to Re: Monitor list of threads running
in thread Monitor list of threads running

I am afraid of some failure and thread dieing...can that happen?

What happens if I remove ->detach()?

Replies are listed 'Best First'.
Re^3: Monitor list of threads running
by Corion (Patriarch) on Apr 08, 2010 at 19:23 UTC

    Seriously, maybe you want to read the threads documentation now? Maybe you want to create some test cases to see what happens when a thread dies? Also, if you're so afraid of failure, maybe you should make your program more robust so that it only erases data when it has positively been processed?