Option to detect data races on stack accesses

Option to detect data races on stack accesses

I'd like to enable the thread checker option to detect data races on stack accesses. However, I don't see how to do that, and I couldn't find it in the documentation. Could you explain?

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

>>...I'd like to enable the thread checker option to detect data races on stack accesses...

Do you mean that you have a multi-threaded application and some thread uses a data set saved on the stack in another thread?

Please create a new inspxe project => New Analysis => Configure Analysis type => Locate Deadlocks and Data Races=> Click "Copy"=> Custom Analysis:

1. Cross-thread stack access detection: "Show problems/Hide warnings"

2. Detect data races on stack accesses (checked)

Click "OK", your "Custom Analysis Types" has been created.

Leave a Comment

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