Conversation
…xecutor Signed-off-by: Arman Hosseini <armanhosseini878787@gmail.com>
ABI Compliance Check❌ Verdict: incompatible
✅
|
fujitatomoya
left a comment
There was a problem hiding this comment.
lgtm with green CI.
@jmachowinski can you take a look at it just in case?
|
Pulls: #3288 |
|
if approved, #3290 can also fix this and I think it’s a better approach. |
|
This PR is not valid. Taking the second mutex here is also harmful as it might introduce an lock order inversion and therefore a deadlock. I'll close this PR as invalid. |
|
I was worried about the |
|
You are right, this is a problem.... |
Sorry I didn't quite understand this. Don't we take that second mutex anyways in the |
|
You are right, we do, okay, in this case it should be fine to take it in this order. |
|
Okay so this pr fixes the problem if #3290 doesn't get approved :) |
Description
In #3178, I called
has_ready_entitiesmethod ofFirstInFirstOutCallbackGroupHandlewithout holdingready_mutex. This can result to data races while accessingready_entities. This PR fixes that.Is this user-facing behavior change?
Did you use Generative AI?
No
Additional Information