Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Potential deadlock in vendor file #3992

@hhheiaenia

Description

@hhheiaenia

In the file https://github.com/weaveworks/weave/blob/master/vendor/k8s.io/client-go/tools/cache/heap.go. I noticed that the condition variable's synchronization operations are protected by h.lock, so I was confused if there could have some deadlock happend when the Broadcast() signal could not acquire a lock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions