Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Andrei_Vermel
Beginner
34 Views

False data race with tbb::mutex::scoped_lock shown by Parallel Inspector

In a block of code guarded by a tbb::mutex::scoped_lock Parallel Inspector shows a data race.
With a spin_mutex the error message goes away.
This is in both in a debug and a release build with TBB_USE_THREADING_TOOLS=1.

Looks like Parallel Inspector is kept silent with ITT_NOTIFY, but for some reason isn't with EnterCriticalSection.

Any hints what to do about it?

0 Kudos
0 Replies