boost::thread memory leak problem

4 Jan
2006
4 Jan
'06
8:10 a.m.
Hi, I'm using vc.net and when linking with mfc71d.lib memory leaks are reported for this code: void doNothing() {} int main() { boost::thread* thrd = new boost::thread( &doNothing ); thrd->join(); delete thrd; return 0; } Does it leak on other platforms too? When I build the thread on the stack instead, everything works fine. Thx for help, Boris
6989
Age (days ago)
6989
Last active (days ago)
0 comments
1 participants
participants (1)
-
monade