Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-09-09 07:13:50


#include <boost/thread/tss.hpp>

int main()
{
    boost::thread_specific_ptr<int> p;
    p.reset(new int(1));
    p.reset();
}

crashes. The problem is AFAICS in tss.cpp:112

if(value && m_cleanup)

--
Peter Dimov
Multi Media Ltd.

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