Boost logo

Boost :

From: Preston A. Elder (prez_at_[hidden])
Date: 2007-11-14 00:45:51


On Wed, 14 Nov 2007 03:22:29 +0000, Preston A. Elder wrote:
> So, is it possible to get this fixed? :)

Last email for today (I'm going to bed :P)

if (!thread_ptr || *thread_ptr != boost::thread())
    return false;

The above code does not work anymore. At least, my app stopped working
because of the above code. I had to change it to:
if (!thread_ptr || thread_ptr->get_id() != boost::this_thread::get_id())
    return false;

But a lot of code will have been written for the former ;)

My tests are on the pthreads implementation.

Preston.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk