desktop: made the thread locks more forgiving when pre-loading
commit026c049512cfdca600fbf75a69706a5c72ad9a61
authorChris Frey <cdfrey@foursquare.net>
Thu, 9 Feb 2012 20:46:11 +0000 (9 15:46 -0500)
committerChris Frey <cdfrey@foursquare.net>
Thu, 9 Feb 2012 20:46:11 +0000 (9 15:46 -0500)
tree8226b2000ddcd34b6643c9172429e0558c2bbc20
parentfaf78dda7fad89e058fd67643b6f717629881d81
desktop: made the thread locks more forgiving when pre-loading

When loading a large database from a slow device, the old single
lock system blocked unnecessarily.  This commit allows for locking
of the map and locking of the load, so accessing pre-loaded data
is still possible during background device access.
desktop/src/Mode_Browse.cc
desktop/src/Mode_Browse.h