Thank you very much .
does a thread of execution always have an id ?
i mean does a threads id gets deleted when we make a thread detached ? im asking this because , if i detach a thread , and thus there is no valid boost::thread object available , how can i access a thread Id using boost::this_thread::get_id() ? the detached thread is not a boost::thread object any more right? then whats the point of comparing the id of this_thread ?! will it make sense at all ?