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

[L0] fix a deadlock on a recursive event rwlock #1468

Merged
merged 1 commit into from
Mar 25, 2024

Commits on Mar 22, 2024

  1. [L0] fix a deadlock on a recursive event rwlock

    L0, when creating a list of events to wait on, in some cases
    was first grabbing a lock on a potentially completed event,
    and then tried to get a command list, which sometimes needs to
    cleanup all completed events. This caused a deadlock.
    
    This patch moves getting a command list to before the event lock.
    But because the lock is required to decide whether this command
    list actually needed, we might be wasting time here.
    pbalcer committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    39c0023 View commit details
    Browse the repository at this point in the history