Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
2477 Discussions

Calling of parallel_for_each many times causes crash

SmallHeaven
Beginner
914 Views
Hi all, I entered a problem of calling parallel_for_each. My program calls needs to call parallel_for_each for a cocurrency vector many times, and during each calling, some elements are also added to that cocurrency vector. After many times, the program crashes. Not only that, it also affects the operating system (which is Window 11 education version). Does any one have any ideas about this? Thank you very much in advance for any ideas for that.
0 Kudos
1 Reply
Mark_L_Intel
Moderator
867 Views

Hello @SmallHeaven ,

 

   coudl you provide a reproducer?

0 Kudos
Reply