¡@

Home 

c++ Programming Glossary: threadtest

std::thread::join() hangs if called after main() exits when using VS2012 RC

http://stackoverflow.com/questions/10915233/stdthreadjoin-hangs-if-called-after-main-exits-when-using-vs2012-rc

std chrono milliseconds ms template typename T class ThreadTest public ThreadTest thread_ SleepFor 10 ~ThreadTest std cout About.. ms template typename T class ThreadTest public ThreadTest thread_ SleepFor 10 ~ThreadTest std cout About to join t id.. T class ThreadTest public ThreadTest thread_ SleepFor 10 ~ThreadTest std cout About to join t id ' n' thread_.join std cout Joined..