3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-02-16 21:50:39 +01:00
Shivaram Lingamneni d5528f6e56 execute rehash() in its own goroutine
This prevents a deadlock:

1. rehash() is executing on the main goroutine
2. it's trying to stop a listener goroutine
3. the listener goroutine needs to hand off a new connection to newConns
4. but the main goroutine is blocked by rehash() so it can't receive it
2017-09-11 14:03:53 -04:00
..
2017-05-08 09:15:16 +10:00
2017-06-15 10:14:19 -06:00
2017-06-15 10:14:19 -06:00
2017-06-15 10:14:19 -06:00
2017-06-15 10:14:19 -06:00
2017-06-30 11:04:24 +10:00
2017-03-27 22:15:02 +10:00
2017-06-15 10:14:19 -06:00
2017-06-15 10:14:19 -06:00
2017-06-15 10:14:19 -06:00
2017-06-15 10:14:19 -06:00
2017-06-15 10:14:19 -06:00
2017-03-27 22:15:02 +10:00
2017-09-05 11:43:50 -04:00
2017-06-18 08:23:51 -06:00
2017-06-15 10:14:19 -06:00
2016-10-13 17:36:44 +10:00
2017-06-15 10:14:19 -06:00
2017-06-15 10:14:19 -06:00
2017-07-14 17:21:53 +10:00
2017-03-27 22:15:02 +10:00