- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I develop in C++ with VS2010 - SP1. To parallelize a part of my program I use tbb, parallel_for, and other stuff included in the library.
Now I need to use a mutex to securise my program.
But just a declaration of tbb::mutex Visual C++ say me :
error C1001: An internal error has occurred in the compiler.
And if I comment this line:
tbb::mutex oMutex;
The code compile without any Error or Warning.
Have you an idea to fix this trouble?
Thanks
Regards
I develop in C++ with VS2010 - SP1. To parallelize a part of my program I use tbb, parallel_for, and other stuff included in the library.
Now I need to use a mutex to securise my program.
But just a declaration of tbb::mutex Visual C++ say me :
error C1001: An internal error has occurred in the compiler.
And if I comment this line:
tbb::mutex oMutex;
The code compile without any Error or Warning.
Have you an idea to fix this trouble?
Thanks
Regards
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
is it reproducible in simple case or just complex code? I haven't seen the issue before.
--Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Indeed when I was comment my declaration of tbb::mutex the source code don't compile but when I revert and add my tbb::mutex the program compile. This an other problem not from tbb::mutex off course.
Thanks
Thanks

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