Fix TSAN issues in thread support library by sherry-yuan · Pull Request #89 · intel/fpga-runtime-for-opencl (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
This repository was archived by the owner on Mar 2, 2026. It is now read-only.
Conversation
The issue was the test is attempting to check for change in variable through a while loop, but did not protect the data read using mutext lock. This could potentially lead to reading of unexpected data and cause a tsan error.
The fix wraps the checks for variable state inside the mutex lock.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Labels
Something isn't working