Files
syncthing-arm/lib
Jakob Borg 31f64186ae lib/connections: More fine grained locking (fixes #3066)
This fixes the deadlock by reducing where we hold the various locks. To
start with it splits up the existing "mut" into a "listenersMut" and a
"curConMut" as these are the two things being protected and I can see no
relation between them that requires a shared lock. It also moves all
model calls outside of the lock, as I see no reason to hold the lock
while calling the model (and it's risky, as proven).

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3069
2016-05-09 15:03:12 +00:00
..
2015-10-27 09:55:05 +01:00
2016-05-04 19:38:12 +00:00
2016-05-08 10:54:22 +00:00
2016-05-04 19:38:12 +00:00
2016-05-08 10:54:22 +00:00
2016-05-08 10:54:22 +00:00
2016-05-08 10:54:22 +00:00
2015-09-22 19:38:46 +02:00
2016-04-16 22:44:07 +00:00