
30 Nov
2008
30 Nov
'08
12:12 p.m.
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