Frank Schroeder 13eeeb720d rpc: refactor sessionTimers and fix racy tests
The sessionTimers map was secured by a lock which wasn't used
properly in the tests. This lead to data races and failing tests
when accessing the length or the members of the map.

This patch adds a separate SessionTimers struct which is safe
for concurrent use and which ecapsulates the behavior of the
sessionTimers map.
2017-07-07 09:22:34 +02:00
..
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00
2017-06-10 18:52:45 +02:00