forked from paul/sinoptik
Paul van Tilburg
cf77dbb5e7
This makes the response time way more snappy when the maps thread is updating its cache. * Move the `MapsHandle` type to the `maps` module * SWitch to using the standard library mutex * Split refresh methods into retrieval methods that don't need the lock and check timestamp & update methods that only need it shortly * Introduce the `MapsRefresh` trait and implement it for `MapsHandle` * Reorder some methods for clarity * Small documentation fixes |
||
---|---|---|
.. | ||
main.rs | ||
maps.rs |