FS#10913: fix file browser not updated on microsd insertion/removal. This is a synchr...
commit032f0a435f60a37e2f768b0c05aee011909d83ce
authorpamaury <pamaury@a1c6a512-1295-4272-9138-f99709370657>
Fri, 21 May 2010 08:31:11 +0000 (21 08:31 +0000)
committerpamaury <pamaury@a1c6a512-1295-4272-9138-f99709370657>
Fri, 21 May 2010 08:31:11 +0000 (21 08:31 +0000)
treeca88826cf418aea9b12cd98f2263924fc1698a08
parentf9d8ac8b7b2344ff53b2eb26771352a902aa5034
FS#10913: fix file browser not updated on microsd insertion/removal. This is a synchro bug in dircache: the system send a SYS_FS_CHANGED message which is first handled by the main thread which rescan the directory but as dircache main treats the message after, the file browser get the old version... Workaround is to check message queue before opening a directory.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26222 a1c6a512-1295-4272-9138-f99709370657
firmware/common/dircache.c