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

Potential deadlock in vendor file #3992

Open
hhheiaenia opened this issue May 24, 2023 · 0 comments
Open

Potential deadlock in vendor file #3992

hhheiaenia opened this issue May 24, 2023 · 0 comments

Comments

@hhheiaenia
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant