Boost logo

Boost Users :

Subject: Re: [Boost-users] Questions about packaged_task , Promise and serialization of a class object and event handling
From: Master (master.huricane_at_[hidden])
Date: 2012-04-16 02:35:16


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 ?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net