
Multithreading and Standard C++ Library
Greets,
I would recommend _beginthreadex() and _endthreadex(). They are fairly
similar to the Win32 CreateThread(). After looking at the CRT source code,
it appears that portions of the standard C++ library code may rely on such.
It is also possible that one may want to use portions of the standard 'C'
library in their application as well, so better safe than sorry. :)
Regards,
Joe
I would still recommend the use of _beginthreadex
Quote:
> When using the "C Runtime Library", I know that I have to use
> _beginthreadex and _endthreadex
> to manage threads. They are included in this library for this very
purpose,
> and this topic has been well documented.
> But what about the "Standard C++ Library" (STL, iostreams, and so on).
> Is it recommended to use _beginthreadex or CreateThread ?
> Any suggestion ?
> Best regards