Files
grin-node/p2p/src
hashmap 2863ed67fd Speedup shutdown (#2862)
I made an suboptimal (aka stupid) decision to stop and wait for peers
one by one which makes shutdown very slow - O(n). This PR decouples sending
stop signal from waiting a thread to exit. On top of it in Peers we
first send stop signal to all peers and only after that start waiting
for them to exit. It gives us a constant time of shutdown in most of the
cases.
2019-05-30 08:03:12 +08:00
..
2019-05-30 08:03:12 +08:00
2019-04-16 11:24:43 +01:00
2019-05-30 08:03:12 +08:00
2019-05-30 08:03:12 +08:00
2019-05-15 08:51:35 -07:00