|
Boost : |
Subject: [boost] [Boost.Thread] ids obtained from the same thread not equal
From: Karp Dantax (karpdantax_at_[hidden])
Date: 2008-11-30 07:12:03
Using boost::thread::get_id() in an executable and one of its DLLs
generate different ids although the calls are made from the same thread.
Until Boost 1.34.1, which used GetCurrentThreadId() to compare two
boost::thread objects, it worked perfectly. I have not delved into the
code, but now that the library is using thread local storage to store
the current thread id, it is not working in the context mentioned above.
Well, thats it. Maybe i am missing something here?
[]s
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk