-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Queue needs bounds on its Send/Sync traits #88
Comments
Xudong-Huang
added a commit
that referenced
this issue
Mar 30, 2021
this should be fixed in release 0.3.19 |
this should be fixed in release 0.3.19 |
VorpalBlade
added a commit
to VorpalBlade/advisory-db
that referenced
this issue
Oct 25, 2024
According to Xudong-Huang/may#88, this has been fixed since a long time. Add the missing `patched`
alex
pushed a commit
to rustsec/advisory-db
that referenced
this issue
Oct 25, 2024
According to Xudong-Huang/may#88, this has been fixed since a long time. Add the missing `patched`
VorpalBlade
added a commit
to VorpalBlade/advisory-db
that referenced
this issue
Oct 25, 2024
According to Xudong-Huang/may#88, this was fixed in 0.3.19, but that refers to the main "may" crate. The correct version for the "may_queue" sub crate is 0.1.8 (based on manual checking the bounds for the affected type on docs.rs)
alex
pushed a commit
to rustsec/advisory-db
that referenced
this issue
Oct 25, 2024
According to Xudong-Huang/may#88, this was fixed in 0.3.19, but that refers to the main "may" crate. The correct version for the "may_queue" sub crate is 0.1.8 (based on manual checking the bounds for the affected type on docs.rs)
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Currently, it is possible to use
mpsc_list::Queue
andmpsc_list_v1::Queue
to send across types that aren't safe to use in other threads. Due to the guarantee about there only being one popper, I think it should be Send/Sync whenT
isSend
. Here's a demonstration with a data race using Cells:which outputs:
(Issue found by Rust group at @sslab-gatech)
The text was updated successfully, but these errors were encountered: