- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I want to know if there is a special version of the new operator to use with the -openmp option (since malloc() has to be changed to kmp_malloc() with C)...
Is there a web page where I can find that kind of tricks (The informations I find with Google are not very interesting...)?
Best Regards
Thomas
I want to know if there is a special version of the new operator to use with the -openmp option (since malloc() has to be changed to kmp_malloc() with C)...
Is there a web page where I can find that kind of tricks (The informations I find with Google are not very interesting...)?
Best Regards
Thomas
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know, you can find out with the debugger. And if not then you can always overload new.
However, note that applications can be multi-threadded without OpenMP and the mt library should already have a thread-safe allocation routine (including malloc)
Jim Dempsey
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page