On 9/8/2010 12:03 PM, Oscar Pernas wrote: > Ok, but, If the thread is detached means that I dont know (and i dont want to > know) when > the thread dies, when I am going to delete its pool if I dont know when is > going to dead? > the only one that knows when is going to finish is itself, but if i delete > his pool in his > own thread I will have a segmentation fault. :S
I'd need to wrap my head around this and provide an example, which I can't quite do just at the moment. If you want to keep an eye on things, procexp (process explorer) from the formerly sysinternals.com collection will let you look at the currently held thread handles.
