buffering: Don't execute move-handle-ony case if handle is of metadata type (atomic...
commit380fc7433e2039173f2c739e6f7590a9deeaef35
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Thu, 10 Feb 2011 05:56:21 +0000 (10 05:56 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Thu, 10 Feb 2011 05:56:21 +0000 (10 05:56 +0000)
tree98bfd167a0f7a88d50d0fe9c65e066d28a57cb47
parent319a98c2cfd3de33f2ed2f9e4b14eeaea3da7517
buffering: Don't execute move-handle-ony case if handle is of metadata type (atomic) and must be kept fully buffered. Manage handle corruption guard and handle buffering with one set of logic which allows reading of the maximum amount of data without overflow. 'FIXME' regarding handle corruption guard is really part of expected operation when thread that does the handle closing hasn't yet performed the delegated task before rebuffering starts.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29270 a1c6a512-1295-4272-9138-f99709370657
apps/buffering.c