Multithreading and Standard C++ Library 
Author Message
 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



Sat, 23 Nov 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Standard c++ library and old iostream library in the same program

2. Standard c++ library and old iostream library in the same program

3. Standard C++ Library and old iostream libraries in VC++ 4.2

4. Standard c++ library and old iostream library in the same program

5. C++ .NET V7, standard C++ library, ODBC - conflict

6. C++ standard library facilities & .NET

7. Using Standard C++ Library

8. Standard C++ library question

9. new Standard C++ library for VC++ V5.0 and V6.0

10. UNICODE & C++ standard library

11. Using Standard C++ Libraries in VC

12. fstream - Standard C++ Library

 

 
Powered by phpBB® Forum Software