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

2010/9/8 William A. Rowe Jr. <wrowe@rowe-clan.net>
apr holds a win32 thread handle while the apr_thread_t exists, because it is too
expensive to repeatedly ask for the true thread handle from the 'current thread'
handle, which is always a rather u

Óscar Pernas Plaza.