Like i said, it works fine if i wait for the thread to finish first...
I realise that you have an answer that you are happy with. This is purely for my own education, and to satisfy my curiosity. I hope you do not object.
If your code works when you do not detach it, why are you detching it? That is, what shortcoming are you tryng to address by detaching it?
In reply to Re^2: detached thread not working??
by BrowserUk
in thread detached thread not working??
by bluegirl123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |