new/delete operator & multithread 
Author Message
 new/delete operator & multithread

Hi all,
Do you know whether standard "new" and "delete" operators in VC++ are
multithread-safe or not? How about other compilers?
Thanks,
Rocky Lee


Wed, 10 Aug 2005 03:07:55 GMT  
 new/delete operator & multithread

Quote:

> Hi all,
> Do you know whether standard "new" and "delete" operators in VC++ are
> multithread-safe or not? How about other compilers?
> Thanks,
> Rocky Lee

They are multithread safe in VC if you link to one of the multithreaded
runtime libs.  If you use MFC you are linked to one of the multithreaded
libs because MFC requires it too.

--
Scott McPhillips [VC++ MVP]



Wed, 10 Aug 2005 04:11:11 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. overloading the new and delete operator

2. How To Override The New / delete Operator ?

3. operator new/delete mismatch

4. Question about redefining the global new and delete operators and MFC

5. operator new and delete

6. problem with global operator new/delete and STL string

7. operator new/delete already defined

8. new and delete operator

9. Class-specific operators new and delete

10. VC++ : problem with new/delete-operator?

11. Memory Allocation and Freeing using New and Delete Operators

12. operator new and delete conflicts

 

 
Powered by phpBB® Forum Software