Boost logo

Boost :

From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2008-05-30 06:35:27


"Emil Dotchevski" <emil_at_[hidden]> writes:

> (cygwin/debug links fine)
>
> ../../../../bin/lib/re_0_02_0/impl/test/test-wfmo.test/gcc-3.3.3/release/link-static/threading-multi/test-wfmo.o:test-wfmo.cpp:(.text$_ZN5boost6detail16thread_data_baseC2Ev[boost::detail::thread_data_base::thread_data_base[not-in-charge]()]+0xd1):
> undefined reference to
> `boost::condition_variable::condition_variable[in-charge]()'
> ../../../../bin/lib/re_0_02_0/impl/test/test-wfmo.test/gcc-3.3.3/release/link-static/threading-multi/test-wfmo.o:test-wfmo.cpp:(.text$_ZN5boost6detail16thread_data_baseC2Ev[boost::detail::thread_data_base::thread_data_base[not-in-charge]()]+0x147):
> undefined reference to
> `boost::condition_variable::condition_variable[in-charge]()'
> ../../../../bin/lib/re_0_02_0/impl/test/test-wfmo.test/gcc-3.3.3/release/link-static/threading-multi/test-wfmo.o:test-wfmo.cpp:(.text$_ZN5boost6detail16thread_data_baseC2Ev[boost::detail::thread_data_base::thread_data_base[not-in-charge]()]+0x231):
> undefined reference to `boost::condition_variable::~condition_variable
> [in-charge]()'

That looks like one of the failures in the regression tests. I've
tried to fix it (since your message) but the tests haven't cycled
yet. Do you have a test case?

> Incidentally, I have a question: are boost::condition_variable and
> boost::mutex destruction-safe on all of the supported platforms? I'm
> debugging some sort of race in a test which creates/destroys
> condvar/mutex objects and 2 threads many times in a loop.

What do you mean by destruction safe?

Anthony

-- 
Anthony Williams            | Just Software Solutions Ltd
Custom Software Development | http://www.justsoftwaresolutions.co.uk
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

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