Data Race indication ...

Data Race indication ...

I can not seem to make the "data race" messages track to real problems. The issues seem to complain about issues that can not be problems since the data being accessed is protected using pthread_mutex_lock/pthread_mutex_unlock under windows. Since I can't find any detail explanation of the "data race" information I am uncertain how to proceed.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Quoting - gmiller1018
I can not seem to make the "data race" messages track to real problems. The issues seem to complain about issues that can not be problems since the data being accessed is protected using pthread_mutex_lock/pthread_mutex_unlock under windows. Since I can't find any detail explanation of the "data race" information I am uncertain how to proceed.

Hi,

Please, give us a reference to the pthread library you were using. There are different implementations on Windows and some of them might be tricky so the tool is not recognizing the locks as sync primitives.

-Vladimir

Leave a Comment

Please sign in to add a comment. Not a member? Join today