Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data races over function pointer initialization #28

Open
alexey-katranov opened this issue Dec 2, 2021 · 0 comments
Open

Data races over function pointer initialization #28

alexey-katranov opened this issue Dec 2, 2021 · 0 comments

Comments

@alexey-katranov
Copy link
Contributor

The check of a function pointer can be performed concurrently with initialization phase of function pointers. It is not a big deal for x86 but we need to suppress (oneapi-src/oneTBB#659) Thread Sanitizer reports. Moreover, C/C++ does not state that pointers are atomic and considers such accesses as data races.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant