-
Notifications
You must be signed in to change notification settings - Fork 349
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
Remove MutexID list #4002
Remove MutexID list #4002
Conversation
I feel I have been constantly running into Usually, the list of blocked thread ids is stored in a struct. Alternating between retrieving thread id (which involves a mutable borrow to the struct) and unblock thread will usually lead to |
Generally you have to take great care of your If we didn't use |
This is a pretty nice way to see it, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the questions in the comments, this is ready
@rustbot ready
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks great overall! But there's a bunch of minor things.
@rustbot author |
@rustbot ready |
Just some final nits. :) @rustbot author |
@rustbot ready |
Oh, wtf... as long as there is a "requested changes" review, it won't merge, even if the merge button is pressed by the person that requested the changes... |
Remove MutexID list in
SynchronizationObjects
to avoid memory leaks.cc #3967