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

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

Open
smtrfnv opened this issue Sep 7, 2023 · 0 comments
Open

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

smtrfnv opened this issue Sep 7, 2023 · 0 comments

Comments

@smtrfnv
Copy link
Contributor

smtrfnv commented Sep 7, 2023

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.

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