Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

CreateThread() - memory leaks

$
0
0

Hi,

I've heard that using CreateThread() (unlike _beginthread()) alongside C++/C standard library functions will cause memory leaks.  So this means, if I use rand(), write(), etc.... I have to use _beginthread()?  What if I am only using the template classes from the C++ STL?

Thanks,

Joe


Viewing all articles
Browse latest Browse all 15302

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>