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:
parent
a689e076c3
commit
1a3a7e8cd8
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user