id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2161,Vc90 managed application fails to initialize when using boost/thread,andreik@…,Anthony Williams,"Nicely working application compiled by vc80 stopped working when compiled under vc90. The problem was narrowed down to boost\thread use. To reproduce generate managed ""hello world"" console app and copy the code below into main. The issue was reported to Mark Levine and Ronald Laerenans at Microsoft but they have not replied... #include ""stdafx.h"" #pragma managed(push, off) #include #include #include #pragma managed(pop) class Unmanaged { public: Unmanaged() { std::cout << __FUNCTION__ << std::endl; } ~Unmanaged() { std::cout << __FUNCTION__ << std::endl; } void Wait() { std::cout << __FUNCTION__ << std::endl; boost::mutex::scoped_lock lock(m_mutex); //m_condition.wait(lock); } private: boost::condition m_condition; boost::mutex m_mutex; }; int main(array^ args) { System::Console::WriteLine(L""Hello World""); Unmanaged unmgd; unmgd.Wait(); return 0; } ",Bugs,closed,Boost 1.36.0,thread,Boost 1.35.0,Problem,wontfix,,