Fixed very bad seeking bug.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9491 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2004-10-24 22:13:10 +00:00
parent a689e076c3
commit 1a3a7e8cd8

View File

@ -46,6 +46,8 @@ ChunkCache::MakeEmpty()
fLocker->Lock();
fEmptyChunkCount = CHUNK_COUNT - 1;
fReadyChunkCount = 0;
fNextPut = &fChunkInfos[0];
fNextGet = &fChunkInfos[0];
atomic_or(&fNeedsRefill, 1);
fLocker->Unlock();
}