-
Notifications
You must be signed in to change notification settings - Fork 36
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
Inadequate Atomic Guarantees In QTHREAD_FASTLOCK_LOCK #190
Labels
Comments
insertinterestingnamehere
added a commit
to insertinterestingnamehere/qthreads
that referenced
this issue
Dec 5, 2023
insertinterestingnamehere
added a commit
to insertinterestingnamehere/qthreads
that referenced
this issue
Dec 7, 2023
insertinterestingnamehere
added a commit
to insertinterestingnamehere/qthreads
that referenced
this issue
Jan 18, 2024
insertinterestingnamehere
added a commit
to insertinterestingnamehere/qthreads
that referenced
this issue
Jan 18, 2024
insertinterestingnamehere
added a commit
to insertinterestingnamehere/qthreads
that referenced
this issue
Jan 18, 2024
insertinterestingnamehere
added a commit
to insertinterestingnamehere/qthreads
that referenced
this issue
Jan 18, 2024
insertinterestingnamehere
added a commit
to insertinterestingnamehere/qthreads
that referenced
this issue
Feb 2, 2024
insertinterestingnamehere
added a commit
to insertinterestingnamehere/qthreads
that referenced
this issue
Feb 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
QTHREAD_FASTLOCK_LOCK
and the related functions need to be rewritten to use atomic reads and writes instead of relying on the atomicity guarantees from x86. For example, there's currently a race condition betweenqthreads/src/feb.c
Line 986 in d6ce514
qthreads/src/qthread.c
Line 652 in d6ce514
Note: this shows up readily in the hello_world_multi test.
The text was updated successfully, but these errors were encountered: