Open hhheiaenia opened 1 year ago
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.
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.