bloomberg / bloomberg/ntf-core

ntco::IoRing: data race when accessing ntcs::Event::status field

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
99
Forks
33
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When IoRingDevice does not support event cancellation by handle it is possible that there will be a data race during event cancellation: multiple threads would access `status` of an event and try to write there. Because of that ntcf_system.t tests can fail sometimes.
Also, ntcs::Event currently is common for multiple drivers, probably we need to implement something specific for IoRing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.