Files
weave/router
Matthias Radestock 89a1e0fb24 eliminate a deadlock
Golang locks aren't re-entrant. As result one can get deadlocks on
RWMutexes like this:

goroutine #1: attempt to acquire read lock -> success
goroutine #2: attempt to acquire write lock -> wait
goroutine #1: attempt to acquire read lock again -> wait

(a pending write lock prevents subsequent acquisitions of read locks)

Peer.HasPathTo could run into this since it could attempt to acquire
the read lock on a peer multiple times if previously it had
encountered that peer via an asymmetric connection.
2014-11-30 15:48:46 +00:00
..
2014-11-14 14:28:45 +00:00
2014-10-27 08:22:22 +00:00
2014-10-15 15:20:49 +01:00
2014-10-15 15:20:49 +01:00
2014-10-15 15:20:49 +01:00
2014-11-30 15:48:46 +00:00
2014-10-24 14:30:58 +01:00
2014-10-15 15:20:49 +01:00
2014-10-15 21:03:15 +01:00
2014-10-15 21:03:15 +01:00