Data races over function pointer initialization
Open
- Dominant language
- Rust
- Stars
- 142
- Forks
- 52
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 3
Description
[The check](https://github.com/intel/ittapi/blob/master/include/ittnotify.h#L243) of a function pointer can be performed concurrently with [initialization phase](https://github.com/intel/ittapi/blob/master/src/ittnotify/ittnotify_static.c#L1472) of function pointers. It is not a big deal for x86 but we need to suppress (https://github.com/oneapi-src/oneTBB/pull/659) Thread Sanitizer reports. Moreover, C/C++ does not state that pointers are atomic and considers such accesses as data races.
Contributor guide
Assessment
This issue has not been assessed yet.